From 523de5782b8f45a540f69bf9b05b92ded531ff93 Mon Sep 17 00:00:00 2001 From: Jin Eguchi Date: Thu, 29 Aug 2019 04:32:32 +0900 Subject: [PATCH] Fix travis error --- electrum/tests/regtest/regtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/tests/regtest/regtest.sh b/electrum/tests/regtest/regtest.sh index 12f856404..4ac6ded0c 100755 --- 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