Skip to content
Snippets Groups Projects
Commit 1284f5da authored by Jake Taylor's avatar Jake Taylor
Browse files

cleanup

parent 96f5c585
No related branches found
No related tags found
2 merge requests!117Release,!102first pass
...@@ -157,10 +157,11 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration, ...@@ -157,10 +157,11 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration,
allRoundsSucceeded = false allRoundsSucceeded = false
numResults-- numResults--
} else if roundReport.TimedOut { } 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{ 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) go c.getHistoricalRounds(timeoutRequest, sendResults, commsInterface)
} else { } else {
// If available, denote the result // If available, denote the result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment