From 9a33ae3d5f10b11a65432e4bba220264d689164b Mon Sep 17 00:00:00 2001
From: Benjamin Wenger <ben@elixxir.ioo>
Date: Mon, 15 Feb 2021 13:41:30 -0800
Subject: [PATCH] fixed an off by one error in checking rounds

---
 network/follow.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/network/follow.go b/network/follow.go
index 012d3fa30..b488ffdc5 100644
--- a/network/follow.go
+++ b/network/follow.go
@@ -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
 	// messages for the user (bloom not implemented yet)
 	checkedRounds.RangeUncheckedMaskedRange(gwRoundsState, roundChecker,
-		firstRound, lastRound, int(m.param.MaxCheckedRounds))
+		firstRound, lastRound+1, int(m.param.MaxCheckedRounds))
 }
-- 
GitLab