mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-25 09:13:09 +00:00
deploy: 7100de2d8942d3d7b58bb033b531fdc33d018326
This commit is contained in:
parent
39ee1d8c9a
commit
3023e67195
@ -809,10 +809,11 @@ proc validateMessage*(rlnPeer: WakuRLNRelay, msg: WakuMessage,
|
||||
waku_rln_invalid_messages_total.inc(labelValues=["invalid_epoch"])
|
||||
return MessageValidationResult.Invalid
|
||||
|
||||
## TODO: FIXME after resolving this issue https://github.com/status-im/nwaku/issues/1247
|
||||
if not rlnPeer.validateRoot(msg.proof.merkleRoot):
|
||||
debug "invalid message: provided root does not belong to acceptable window of roots", provided=msg.proof.merkleRoot, validRoots=rlnPeer.validMerkleRoots
|
||||
waku_rln_invalid_messages_total.inc(labelValues=["invalid_root"])
|
||||
return MessageValidationResult.Invalid
|
||||
# return MessageValidationResult.Invalid
|
||||
|
||||
# verify the proof
|
||||
let
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user