From 880b283fcf6bf24676e5235016161d4105ef1ef0 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Tue, 25 May 2021 19:45:56 -0400 Subject: [PATCH] fix: retry sending a microblock transaction if it fails for some reason --- net-test/tests/test_2_nat_miners_microblocks.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-test/tests/test_2_nat_miners_microblocks.sh b/net-test/tests/test_2_nat_miners_microblocks.sh index 9459b6457..35da2afb8 100755 --- a/net-test/tests/test_2_nat_miners_microblocks.sh +++ b/net-test/tests/test_2_nat_miners_microblocks.sh @@ -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")"