mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
fix: retry sending a microblock transaction if it fails for some reason
This commit is contained in:
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user