Skip to content

Commit

Permalink
Remove unneeded comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroCabeza committed Dec 25, 2023
1 parent 54c1ac0 commit c290dfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions waku/waku_core/topics/sharding.nim
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ proc parseSharding*(pubsubTopic: Option[PubsubTopic], contentTopics: ContentTopi
if shardsRes.isErr():
return err("Cannot autoshard content topic: " & $shardsRes.error)
else: shardsRes.get()

# check if this is even needed

if not topicMap.hasKey(pubsub):
topicMap[pubsub] = @[]

Expand Down

0 comments on commit c290dfa

Please sign in to comment.