mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-14 16:47:21 +00:00
Fix the build for chronicles_sinks=json
This commit is contained in:
parent
976438d7fc
commit
44fc05f864
@ -1,6 +1,8 @@
|
|||||||
# included from libp2p_backend
|
# 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.}
|
proc init*(T: type Peer, network: Eth2Node, id: PeerID): Peer {.gcsafe.}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user