Skip to content
Snippets Groups Projects
Commit 9a33ae3d authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed an off by one error in checking rounds

parent 0a759ec8
No related branches found
No related tags found
No related merge requests found
...@@ -243,5 +243,5 @@ func (m *manager) follow(rng csprng.Source, comms followNetworkComms) { ...@@ -243,5 +243,5 @@ func (m *manager) follow(rng csprng.Source, comms followNetworkComms) {
// does, checking the bloom filter for the user to see if there are // does, checking the bloom filter for the user to see if there are
// messages for the user (bloom not implemented yet) // messages for the user (bloom not implemented yet)
checkedRounds.RangeUncheckedMaskedRange(gwRoundsState, roundChecker, checkedRounds.RangeUncheckedMaskedRange(gwRoundsState, roundChecker,
firstRound, lastRound, int(m.param.MaxCheckedRounds)) firstRound, lastRound+1, int(m.param.MaxCheckedRounds))
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment