Closed sgerbino closed 2 years ago
The connected peer ID is not separated from p2p with a /.
p2p
/
2021-11-02 18:03:18.203977 (p2p.Koinos) [node/node.go:260] <info>: Connected peers: 2021-11-02 18:03:18.204009 (p2p.Koinos) [node/node.go:262] <info>: - /ip4/x.x.x.x/tcp/58388/p2pQmTZnodiJRbmrkbCexxosb9QPb7UFfgV51hJXacpgSrfC2
The peer ID should be displayed like this: /ip4/x.x.x.x/tcp/58388/p2p/QmTZnodiJRbmrkbCexxosb9QPb7UFfgV51hJXacpgSrfC2
/ip4/x.x.x.x/tcp/58388/p2p/QmTZnodiJRbmrkbCexxosb9QPb7UFfgV51hJXacpgSrfC2
Run a Koinos cluster and look at the p2p logs for connected peers.
- OS: All
Add the forward slash in this statement.
https://github.com/koinos/koinos-p2p/blob/9cac5509f1e6a8be534dde789b81e740a783ad50/internal/node/node.go#L262
Is there an existing issue for this?
Current behavior
The connected peer ID is not separated from
p2p
with a/
.Expected behavior
The peer ID should be displayed like this:
/ip4/x.x.x.x/tcp/58388/p2p/QmTZnodiJRbmrkbCexxosb9QPb7UFfgV51hJXacpgSrfC2
Steps to reproduce
Run a Koinos cluster and look at the p2p logs for connected peers.
Environment
Anything else?
Add the forward slash in this statement.
https://github.com/koinos/koinos-p2p/blob/9cac5509f1e6a8be534dde789b81e740a783ad50/internal/node/node.go#L262