nim-libp2p auto bump (#2647)
* auto-bump nim-libp2p * update peerhook for libp2p Co-authored-by: = <Menduist@users.noreply.github.com> Co-authored-by: Tanguy Cizain <tanguycizain@gmail.com>
This commit is contained in:
parent
38ce948647
commit
f68061b2d8
|
@ -1175,8 +1175,8 @@ proc new*(T: type Eth2Node, config: BeaconNodeConf,
|
|||
msg.protocolMounter node
|
||||
|
||||
|
||||
proc peerHook(peerId: PeerID, event: ConnEvent): Future[void] {.gcsafe.} =
|
||||
onConnEvent(node, peerId, event)
|
||||
proc peerHook(peerInfo: PeerInfo, event: ConnEvent): Future[void] {.gcsafe.} =
|
||||
onConnEvent(node, peerInfo.peerId, event)
|
||||
|
||||
try:
|
||||
switch.addConnEventHandler(peerHook, ConnEventKind.Connected)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ac7f2033a0d5e51d5f5a70b5485de79f90c20b39
|
||||
Subproject commit cb94baf9c4081a78a889957c93baa16aff3511de
|
Loading…
Reference in New Issue