deploy: 17e6a20d0620a01d963b536c38414096a73af6d0

This commit is contained in:
s1fr0 2022-10-10 20:20:46 +00:00
parent 8bff07f0df
commit 2e6c3e8f9a

View File

@ -815,7 +815,7 @@ proc validateMessage*(rlnPeer: WakuRLNRelay, msg: WakuMessage,
debug "message epoch", msgEpoch = fromEpoch(msgEpoch)
# validate the epoch
if abs(gap) >= MaxEpochGap:
if abs(gap) > MaxEpochGap:
# message's epoch is too old or too ahead
# accept messages whose epoch is within +-MaxEpochGap from the current epoch
debug "invalid message: epoch gap exceeds a threshold", gap = gap,