Verified Commit 8d7369f7 authored by Andronik Ordian's avatar Andronik Ordian
Browse files

one more try

parent 5f8e4aef
Pipeline #161112 failed with stages
in 10 minutes and 24 seconds
......@@ -70,8 +70,8 @@ impl<N: Network, AD: AuthorityDiscovery> Service<N, AD> {
// clone is important here
Some(multiaddr::Protocol::P2p(key)) =>
PeerId::from_multihash(key).ok().and_then(|peer_id| {
let to_keep = !addr_to_remove.contains(&peer_id);
to_keep.then(|| addr)
let to_add = !state.previously_requested.contains(&peer_id);
to_add.then(|| addr)
}),
_ => 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