Skip to content

Commit

Permalink
Last Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SionoiS committed Aug 11, 2023
1 parent e961b3f commit a077779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wakunode2/app.nim
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ proc setupProtocols(node: WakuNode,
# TODO autoshard content topics only once.
# Already checked for errors in app.init
let contentTopics = conf.contentTopics.mapIt(NsContentTopic.parse(it).expect("Parsing"))
let shards = contentTopics.mapIt($(singleHighestWeigthShard(it).expect("Sharding")))
let shards = contentTopics.mapIt($(autosharding(it).expect("Sharding")))

let pubsubTopics = conf.topics & conf.pubsubTopics & shards
try:
Expand Down

0 comments on commit a077779

Please sign in to comment.