mirror of https://github.com/waku-org/nwaku.git
setting default pubsub topic value and modifying log
This commit is contained in:
parent
fa47648e4f
commit
6a8e498c5f
|
@ -298,6 +298,7 @@ type WakuNodeConf* = object
|
|||
|
||||
pubsubTopics* {.
|
||||
desc: "Default pubsub topic to subscribe to. Argument may be repeated.",
|
||||
defaultValue: @["/waku/2/rs/0/0"],
|
||||
name: "pubsub-topic"
|
||||
.}: seq[string]
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ proc enrConfiguration*(
|
|||
if shardsOpt.isSome():
|
||||
shards = shardsOpt.get().shardIds
|
||||
else:
|
||||
info "no pubsub topics specified or pubsubtopic is of type Named sharding "
|
||||
info "no pubsub topics specified"
|
||||
# some shards configured
|
||||
else:
|
||||
shards = toSeq(conf.shards.mapIt(uint16(it)))
|
||||
|
|
Loading…
Reference in New Issue