Lower verbosity of logging in processQueue

This commit is contained in:
kdeme 2020-01-14 19:02:34 +01:00
parent ab287d234a
commit 85a2b24920
No known key found for this signature in database
GPG Key ID: 4E8DD21420AF43F5
2 changed files with 5 additions and 4 deletions

View File

@ -373,17 +373,18 @@ proc processQueue(peer: Peer) =
continue
if message.pow < wakuPeer.powRequirement:
debug "Message PoW too low for peer", pow = message.pow,
trace "Message PoW too low for peer", pow = message.pow,
powReq = wakuPeer.powRequirement
continue
if not bloomFilterMatch(wakuPeer.bloom, message.bloom):
debug "Message does not match peer bloom filter"
trace "Message does not match peer bloom filter"
continue
if wakuNet.config.wakuMode == WakuSan and
wakuPeer.wakuMode == WakuChan:
if message.env.topic notin wakuPeer.topics:
trace "Message does not match topics list"
continue
trace "Adding envelope"

View File

@ -273,12 +273,12 @@ proc processQueue(peer: Peer) =
continue
if message.pow < whisperPeer.powRequirement:
debug "Message PoW too low for peer", pow = message.pow,
trace "Message PoW too low for peer", pow = message.pow,
powReq = whisperPeer.powRequirement
continue
if not bloomFilterMatch(whisperPeer.bloom, message.bloom):
debug "Message does not match peer bloom filter"
trace "Message does not match peer bloom filter"
continue
trace "Adding envelope"