File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use libp2p_core::{
2626 Multiaddr ,
2727 PeerId ,
2828 PublicKey ,
29- connection:: ConnectionId ,
29+ connection:: { ConnectionId , ListenerId } ,
3030 upgrade:: UpgradeError
3131} ;
3232use libp2p_swarm:: {
@@ -233,13 +233,13 @@ impl NetworkBehaviour for Identify {
233233 self . pending_push . remove ( peer_id) ;
234234 }
235235
236- fn inject_new_listen_addr ( & mut self , _addr : & Multiaddr ) {
236+ fn inject_new_listen_addr ( & mut self , _id : ListenerId , _addr : & Multiaddr ) {
237237 if self . config . push_listen_addr_updates {
238238 self . pending_push . extend ( self . connected . keys ( ) ) ;
239239 }
240240 }
241241
242- fn inject_expired_listen_addr ( & mut self , _addr : & Multiaddr ) {
242+ fn inject_expired_listen_addr ( & mut self , _id : ListenerId , _addr : & Multiaddr ) {
243243 if self . config . push_listen_addr_updates {
244244 self . pending_push . extend ( self . connected . keys ( ) ) ;
245245 }
You can’t perform that action at this time.
0 commit comments