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:
nbc-bump-bot[bot] 2021-07-26 12:36:17 +00:00 committed by GitHub
parent 38ce948647
commit f68061b2d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit ac7f2033a0d5e51d5f5a70b5485de79f90c20b39
Subproject commit cb94baf9c4081a78a889957c93baa16aff3511de