mirror of https://github.com/waku-org/nwaku.git
parent
404810aa8d
commit
853ec1869e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue