From d11313d1de8a1702a5a19b30ba63e3141a21d6f1 Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Fri, 15 Jul 2022 14:23:10 -0700 Subject: [PATCH] Fix bug in verifySendSuccess --- cmd/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/utils.go b/cmd/utils.go index 949c82b9b..09a908c47 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -58,12 +58,12 @@ func verifySendSuccess(client *xxdk.E2e, paramsE2E e2e.Params, // On a retry, go to the top of the loop jww.DEBUG.Printf("Messages were not sent successfully," + " resending messages...") - return true + return false case <-done: // Close channels on verification success close(done) close(retryChan) - return false + return true } } -- GitLab