commit 2583decc64afeda1f60bd69e77c692e126b33e56
parent 2ee881f40a8e4b86253cd1cd5ba62d54b344a835
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 29 Aug 2019 10:20:34 +0200
Merge pull request #5593 from wakiyamap/patch-1
Fix travis error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/tests/regtest/regtest.sh b/electrum/tests/regtest/regtest.sh
@@ -304,7 +304,7 @@ if [[ $1 == "breach_with_spent_htlc" ]]; then
echo "mempool has 1 tx"
new_blocks 1
sleep 5
- balance=$($bob getbalance | jq '.confirmed')
+ balance=$($bob getbalance | jq '.confirmed | tonumber')
if (( $(echo "$balance < 0.049" | bc -l) )); then
echo "htlc not redeemed."
exit 1