Skip to content

Commit

Permalink
chore: update according to suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya committed Jun 21, 2024
1 parent 11b575d commit 1dc4196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions waku/factory/node_factory.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1dc4196

Please sign in to comment.