Skip to content

Commit

Permalink
remove_explicit_peer removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeguglielmo committed Nov 21, 2023
1 parent e499285 commit bf22da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht-cache/src/domocache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ impl DomoCache {

for (peer, addr) in list {
println!("MDNS for peer {peer} expired {local:?} {}", addr);
self.swarm.behaviour_mut().gossipsub.remove_explicit_peer(&peer);
//self.swarm.behaviour_mut().gossipsub.remove_explicit_peer(&peer);
}
}
SwarmEvent::Behaviour(crate::domolibp2p::OutEvent::Mdns(
Expand Down

0 comments on commit bf22da1

Please sign in to comment.