From 1284f5daef1ecf22820adb2ef34d106eb3c2f7b7 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Tue, 28 Dec 2021 12:33:54 -0600 Subject: [PATCH] cleanup --- api/results.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/results.go b/api/results.go index 333615c3a..1d5616c7a 100644 --- a/api/results.go +++ b/api/results.go @@ -157,10 +157,11 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration, allRoundsSucceeded = false numResults-- } else if roundReport.TimedOut { - // Generate a message to track all timed out rounds + // Generate a message to track the timed out round timeoutRequest := &pb.HistoricalRounds{ - Rounds: []uint64{}, + Rounds: []uint64{roundReport.RoundInfo.ID}, } + // Request that round's information, feeding back into sendResults go c.getHistoricalRounds(timeoutRequest, sendResults, commsInterface) } else { // If available, denote the result -- GitLab