mirror of https://github.com/status-im/go-waku.git
fix(chat2): /peers
This commit is contained in:
parent
f2c23be803
commit
49a35e8168
|
@ -195,11 +195,11 @@ func (c *Chat) parseInput() {
|
|||
c.ui.ErrorMessage(err)
|
||||
return
|
||||
}
|
||||
peerInfoMsg += fmt.Sprintf(" Protocols: %s\n", strings.Join(peerProtocols, ", "))
|
||||
peerInfoMsg += " Addresses:\n"
|
||||
peerInfoMsg += fmt.Sprintf(" - %s:\n", p.Pretty())
|
||||
peerInfoMsg += fmt.Sprintf("• %s:\n", p.Pretty())
|
||||
peerInfoMsg += fmt.Sprintf(" Protocols: %s\n", strings.Join(peerProtocols, ", "))
|
||||
peerInfoMsg += " Addresses:\n"
|
||||
for _, addr := range peerInfo.Addrs {
|
||||
peerInfoMsg += fmt.Sprintf(" %s/p2p/%s\n", addr.String(), p.Pretty())
|
||||
peerInfoMsg += fmt.Sprintf(" - %s/p2p/%s\n", addr.String(), p.Pretty())
|
||||
}
|
||||
}
|
||||
c.ui.InfoMessage(peerInfoMsg)
|
||||
|
|
|
@ -33,7 +33,6 @@ func execute(options Options) {
|
|||
node.WithPrivateKey(options.NodeKey),
|
||||
node.WithNTP(),
|
||||
node.WithHostAddress(hostAddr),
|
||||
node.WithWakuStore(false),
|
||||
}
|
||||
|
||||
if options.Relay.Enable {
|
||||
|
|
Loading…
Reference in New Issue