Update toychat default content topic (#583)

This commit is contained in:
Hanno Cornelius 2021-06-02 10:59:15 +02:00 committed by GitHub
parent 2b571e205b
commit 7a2ce51f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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"))

View File

@ -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 =