Fix the build for chronicles_sinks=json
This commit is contained in:
parent
976438d7fc
commit
44fc05f864
|
@ -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.}
|
||||
|
||||
|
|
Loading…
Reference in New Issue