Merge pull request #5593 from wakiyamap/patch-1

Fix travis error
This commit is contained in:
ThomasV 2019-08-29 10:20:34 +02:00 committed by GitHub
commit 2583decc64
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" echo "mempool has 1 tx"
new_blocks 1 new_blocks 1
sleep 5 sleep 5
balance=$($bob getbalance | jq '.confirmed') balance=$($bob getbalance | jq '.confirmed | tonumber')
if (( $(echo "$balance < 0.049" | bc -l) )); then if (( $(echo "$balance < 0.049" | bc -l) )); then
echo "htlc not redeemed." echo "htlc not redeemed."
exit 1 exit 1