diff --git a/network/rounds/unchecked.go b/network/rounds/unchecked.go index 937eb5ab50a51f89137f33f7b275fa3a069edcc9..2d3ee8af63b11002831594345648d75bc34fa541 100644 --- a/network/rounds/unchecked.go +++ b/network/rounds/unchecked.go @@ -115,8 +115,8 @@ func (m *Manager) processUncheckedRounds(checkInterval time.Duration, backoffTab func isRoundCheckDue(tries uint64, ts time.Time, backoffTable [cappedTries]time.Duration) bool { now := netTime.Now() - if tries > uint64(len(backoffTable)) { - tries = uint64(len(backoffTable)) + if tries >= uint64(len(backoffTable)) { + tries = uint64(len(backoffTable))-1 } roundCheckTime := ts.Add(backoffTable[tries])