From 1dc419606d3fc9d215fb9bdee7289cf30d338802 Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Fri, 21 Jun 2024 16:18:00 +0530 Subject: [PATCH] chore: update according to suggestion --- waku/factory/node_factory.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/waku/factory/node_factory.nim b/waku/factory/node_factory.nim index 8c36c15017..e2202261c8 100644 --- a/waku/factory/node_factory.nim +++ b/waku/factory/node_factory.nim @@ -146,12 +146,12 @@ proc setupProtocols( let shards = conf.contentTopics.mapIt(node.wakuSharding.getShard(it).expect("Valid Shard")) + debug "Shards created from content topics", + contentTopics = conf.contentTopics, shards = shards + if conf.relay: let pubsubTopics = conf.pubsubTopics & shards - debug "Shards created from content topics", - contentTopics = conf.contentTopics, shards = shards - let parsedMaxMsgSize = parseMsgSize(conf.maxMessageSize).valueOr: return err("failed to parse 'max-num-bytes-msg-size' param: " & $error)