From 56fe377c66bc01e99d5aeeab01cfb66f52499bc7 Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Thu, 17 Mar 2022 11:54:55 -0500
Subject: [PATCH] fix getting stuck in getRoundResults

---
 api/results.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/results.go b/api/results.go
index 5c419e4c6..9c5d94fa1 100644
--- a/api/results.go
+++ b/api/results.go
@@ -166,7 +166,9 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration,
 							roundsResults[roundId] = Succeeded
 						} else if states.Round(roundInfo.State) == states.FAILED {
 							roundsResults[roundId] = Failed
+							allRoundsSucceeded = false
 						}
+						continue
 					}
 					allRoundsSucceeded = false
 					anyRoundTimedOut = true
-- 
GitLab