Skip to content

Commit

Permalink
fix: issue #2644 properly (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyaprem authored May 3, 2024
1 parent 404810a commit 853ec18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/factory/internal_config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ proc enrConfiguration*(
let shardsRes = topicsToRelayShards(conf.pubsubTopics)
if shardsRes.isOk() and shardsRes.get().isSome():
shardsLocal = shardsRes.get().get().shardIds
elif not shardsRes.get().isNone():
elif shardsRes.get().isNone():
info "no pubsub topics specified or pubsubtopic is of type Named sharding "
else:
error "failed to parse pubsub topic, please format according to static shard specification",
Expand Down

0 comments on commit 853ec18

Please sign in to comment.