Skip to content
Snippets Groups Projects
Commit d11313d1 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix bug in verifySendSuccess

parent 018a33d6
Branches
Tags
2 merge requests!510Release,!274Refactor flag usage in cmd
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment