updated printing enode of peer (#32)

This commit is contained in:
Dean Eigenmann 2020-06-19 15:53:06 +02:00 committed by GitHub
parent aafb865755
commit c770e3fd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)