Skip to content

Commit f3311f1

Browse files
committed
Fix build.
1 parent d8e9492 commit f3311f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

protocols/identify/src/identify.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
};
3232
use 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
}

0 commit comments

Comments
 (0)