Fix the build for chronicles_sinks=json

This commit is contained in:
Zahary Karadjov 2019-06-20 15:45:09 +03:00
parent 976438d7fc
commit 44fc05f864
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
# included from libp2p_backend
proc `$`*(peer: Peer): string = $peer.id
template `$`*(peer: Peer): string = $peer.id
chronicles.formatIt(Peer): $it
proc init*(T: type Peer, network: Eth2Node, id: PeerID): Peer {.gcsafe.}