fix stuck tests, be removing -it from exec
This commit is contained in:
parent
030025688e
commit
09f879ca79
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ lncli-sim() {
|
||||||
|
|
||||||
get-eclair-pubkey() {
|
get-eclair-pubkey() {
|
||||||
while true; do
|
while true; do
|
||||||
pubkey=$(docker exec -it lnbits-legend-eclair-1 curl http://localhost:8080/getinfo -X POST -u :lnbits 2> /dev/null | jq -r .nodeId 2> /dev/null)
|
pubkey=$(docker exec lnbits-legend-eclair-1 curl http://localhost:8080/getinfo -X POST -u :lnbits 2> /dev/null | jq -r .nodeId 2> /dev/null)
|
||||||
pubkeyPrefix=$(echo $pubkey | cut -c1,2)
|
pubkeyPrefix=$(echo $pubkey | cut -c1,2)
|
||||||
if [[ "$pubkeyPrefix" == "02" || "$pubkeyPrefix" == "03" ]]; then
|
if [[ "$pubkeyPrefix" == "02" || "$pubkeyPrefix" == "03" ]]; then
|
||||||
echo $pubkey
|
echo $pubkey
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue