mirror of
https://github.com/logos-messaging/logos-delivery-go.git
synced 2026-06-06 22:39:52 +00:00
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…
x
Reference in New Issue
Block a user