mirror of https://github.com/waku-org/nwaku.git
Update toychat default content topic (#583)
This commit is contained in:
parent
2b571e205b
commit
7a2ce51f6e
|
@ -190,7 +190,7 @@ type
|
|||
|
||||
contentTopic* {.
|
||||
desc: "Content topic for chat messages."
|
||||
defaultValue: "/waku/2/huilong/proto"
|
||||
defaultValue: "/toy-chat/2/huilong/proto"
|
||||
name: "content-topic" }: string
|
||||
|
||||
# NOTE: Keys are different in nim-libp2p
|
||||
|
@ -226,4 +226,4 @@ proc completeCmdArg*(T: type Port, val: TaintedString): seq[string] =
|
|||
func defaultListenAddress*(conf: Chat2Conf): ValidIpAddress =
|
||||
# TODO: How should we select between IPv4 and IPv6
|
||||
# Maybe there should be a config option for this.
|
||||
(static ValidIpAddress.init("0.0.0.0"))
|
||||
(static ValidIpAddress.init("0.0.0.0"))
|
||||
|
|
|
@ -126,7 +126,7 @@ type
|
|||
|
||||
contentTopic* {.
|
||||
desc: "Content topic to bridge chat messages to."
|
||||
defaultValue: "/waku/2/huilong/proto"
|
||||
defaultValue: "/toy-chat/2/huilong/proto"
|
||||
name: "content-topic" }: string
|
||||
|
||||
proc parseCmdArg*(T: type keys.KeyPair, p: TaintedString): T =
|
||||
|
|
Loading…
Reference in New Issue