mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
commit
2583decc64
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue