fix: retry sending a microblock transaction if it fails for some reason

This commit is contained in:
Jude Nelson
2021-05-25 19:45:56 -04:00
parent 9c3b033301
commit 880b283fcf

View File

@@ -82,8 +82,9 @@ with_miner_1
RC=$?
if [ $RC -ne 0 ]; then
logln "Failed to make a token transfer to $STX_DEST_ADDR at attempt $i: rc $RC"
DONE=1
break
# keep trying
continue
fi
TXID="$(echo "$TX" | send_tx "http://localhost:21443")"