Update to latest libp2p

This commit is contained in:
Age Manning 2019-06-25 18:57:11 +10:00
parent 0952a36a21
commit 7dc5e2f959
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93
3 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ edition = "2018"
beacon_chain = { path = "../beacon_chain" } beacon_chain = { path = "../beacon_chain" }
clap = "2.32.0" clap = "2.32.0"
# SigP repository # SigP repository
libp2p = { git = "https://github.com/SigP/rust-libp2p", rev = "1c2aa97a338fc9dfd8e804cc47497fb9b8e7ad04" } libp2p = { git = "https://github.com/SigP/rust-libp2p", rev = "8ff9f2001de0aea1175c1442f22bfbf382dc0e8b" }
enr = { git = "https://github.com/SigP/rust-libp2p/", rev = "1c2aa97a338fc9dfd8e804cc47497fb9b8e7ad04", features = ["serde"] } enr = { git = "https://github.com/SigP/rust-libp2p/", rev = "8ff9f2001de0aea1175c1442f22bfbf382dc0e8b", features = ["serde"] }
types = { path = "../../eth2/types" } types = { path = "../../eth2/types" }
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View File

@ -171,7 +171,7 @@ where
fn poll( fn poll(
&mut self, &mut self,
params: &mut PollParameters, params: &mut impl PollParameters,
) -> Async< ) -> Async<
NetworkBehaviourAction< NetworkBehaviourAction<
<Self::ProtocolsHandler as ProtocolsHandler>::InEvent, <Self::ProtocolsHandler as ProtocolsHandler>::InEvent,

View File

@ -94,7 +94,7 @@ where
fn poll( fn poll(
&mut self, &mut self,
_: &mut PollParameters<'_>, _: &mut impl PollParameters,
) -> Async< ) -> Async<
NetworkBehaviourAction< NetworkBehaviourAction<
<Self::ProtocolsHandler as ProtocolsHandler>::InEvent, <Self::ProtocolsHandler as ProtocolsHandler>::InEvent,