From 33381b37dfca17fa82a04482e6ef1d1497a2039f Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Tue, 7 Jun 2022 12:08:38 -0500
Subject: [PATCH] fix roundresults timeout

---
 cmd/root.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmd/root.go b/cmd/root.go
index 76935534e..8bdd2944b 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -382,7 +382,6 @@ var rootCmd = &cobra.Command{
 					for {
 						// Send messages
 						var roundIDs []id.Round
-						roundTimeout := paramsE2E.CMIXParams.SendTimeout
 						if unsafe {
 							paramsE2E.CMIXParams.DebugTag = "cmd.Unsafe"
 							roundIDs, _, err = client.GetE2E().SendUnsafe(
@@ -413,7 +412,7 @@ var rootCmd = &cobra.Command{
 							}
 
 							// Monitor rounds for results
-							err = client.GetCmix().GetRoundResults(roundTimeout, f, roundIDs...)
+							err = client.GetCmix().GetRoundResults(paramsE2E.CMIXParams.Timeout, f, roundIDs...)
 							if err != nil {
 								jww.DEBUG.Printf("Could not verify messages were sent successfully, resending messages...")
 								continue
-- 
GitLab