Browse Source

Fix travis error

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Jin Eguchi 6 years ago
committed by GitHub
parent
commit
523de5782b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electrum/tests/regtest/regtest.sh

2
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

Loading…
Cancel
Save