Verified Commit ffb18ac3 authored by Andronik Ordian's avatar Andronik Ordian
Browse files

one more try

parent dfabeae7
Pipeline #161105 canceled with stages
in 1 minute and 47 seconds
......@@ -155,7 +155,7 @@ impl<N: Network, AD: AuthorityDiscovery> Service<N, AD> {
fn extract_peer_ids(multiaddr: impl Iterator<Item = Multiaddr>) -> HashSet<PeerId> {
multiaddr
.filter_map(|addr| match addr.pop() {
.filter_map(|mut addr| match addr.pop() {
Some(multiaddr::Protocol::P2p(key)) => PeerId::from_multihash(key).ok(),
_ => None,
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment