mirror of https://github.com/waku-org/nwaku.git
updated printing enode of peer (#32)
This commit is contained in:
parent
aafb865755
commit
c770e3fd76
|
@ -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…
Reference in New Issue