mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 15:46:33 +00:00
deploy: 8a8c745e3038bbb4ee50df73650954c0db4bb3de
This commit is contained in:
parent
bbc897c352
commit
3990c5daaa
@ -2,7 +2,7 @@
|
||||
|
||||
# libtool - Provide generalized library-building support services.
|
||||
# Generated automatically by config.status (libbacktrace) version-unused
|
||||
# Libtool was configured on host fv-az348-255:
|
||||
# Libtool was configured on host fv-az91-441:
|
||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||
#
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||
|
@ -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