Skip to content

Commit 1391075

Browse files
lexnvdmitry-markin
andauthored
Update src/protocol/libp2p/identify.rs
Co-authored-by: Dmitry Markin <dmitry@markin.tech>
1 parent f4b0c6b commit 1391075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protocol/libp2p/identify.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl Identify {
372372
}
373373
if let Some(multiaddr::Protocol::P2p(peer_id)) = address.iter().last() {
374374
if peer_id != peer.into() {
375-
tracing::debug!(target: LOG_TARGET, ?peer, ?address, "peer identified provided invalid listen address");
375+
tracing::debug!(target: LOG_TARGET, ?peer, ?address, "peer identified provided listen address with incorrect peer ID; discarding the address");
376376
return None;
377377
}
378378
}

0 commit comments

Comments
 (0)