Fix travis error

This commit is contained in:
Jin Eguchi 2019-08-29 04:32:32 +09:00 committed by GitHub
parent 2ee881f40a
commit 523de5782b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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