Browse Source

regtest: fix varname in wait_until_htlcs_settled

(this was not affecting the tests)
master
ThomasV 2 years ago
parent
commit
32775c1b5d
  1. 2
      tests/regtest/regtest.sh

2
tests/regtest/regtest.sh

@ -19,7 +19,7 @@ function wait_until_htlcs_settled()
{
msg="wait until $1's local_unsettled_sent is zero"
cmd="./run_electrum --regtest -D /tmp/$1"
while unsettled=$($alice list_channels | jq '.[] | .local_unsettled_sent') && [ $unsettled != "0" ]; do
while unsettled=$($cmd list_channels | jq '.[] | .local_unsettled_sent') && [ $unsettled != "0" ]; do
sleep 1
msg="$msg."
printf "$msg\r"

Loading…
Cancel
Save