mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 22:43:09 +00:00
updated printing enode of peer (#32)
This commit is contained in:
parent
82cc06cd62
commit
0a3ecf6da8
@ -123,7 +123,7 @@ proc run(config: WakuNodeConf) =
|
||||
let
|
||||
sent = peer.state(Waku).accounting.sent
|
||||
received = peer.state(Waku).accounting.received
|
||||
id = peer.remote.id
|
||||
id = peer.network.toEnode
|
||||
info "Peer Metrics", id, sent, received
|
||||
peer.state(Waku).accounting = Accounting(sent: 0, received: 0)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user