mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 00:31:35 +00:00
Add inject_dial_failure and make addresses_of_peer mut (#901)
* Add inject_dial_failure and make addresses_of_peer mut * Fix tests
This commit is contained in:
@ -75,7 +75,7 @@ where
|
||||
IdentifyListenHandler::new().select(PeriodicIdHandler::new())
|
||||
}
|
||||
|
||||
fn addresses_of_peer(&self, _: &PeerId) -> Vec<Multiaddr> {
|
||||
fn addresses_of_peer(&mut self, _: &PeerId) -> Vec<Multiaddr> {
|
||||
Vec::new()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user