mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-25 16:23:12 +00:00
fix: conditional for clearing nullifier log
This commit is contained in:
parent
f50507db23
commit
ea35375279
@ -331,7 +331,7 @@ proc clearNullifierLog(rlnPeer: WakuRlnRelay) =
|
||||
# note: the epochs are ordered ascendingly
|
||||
debug "clearing nullifier log",
|
||||
count = rlnPeer.nullifierLog.len().uint, maxGap = rlnPeer.rlnMaxEpochGap
|
||||
if rlnPeer.nullifierLog.len().uint < rlnPeer.rlnMaxEpochGap:
|
||||
if rlnPeer.nullifierLog.len().uint <= rlnPeer.rlnMaxEpochGap:
|
||||
return
|
||||
|
||||
debug "clearing epochs from the nullifier log", count = rlnPeer.rlnMaxEpochGap
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user