Skip to content

Commit 27a6f3d

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

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
@@ -392,7 +392,7 @@ impl Identify {
392392

393393
if let Some(multiaddr::Protocol::P2p(peer_id)) = address.iter().last() {
394394
if peer_id != local_peer_id.into() {
395-
tracing::debug!(target: LOG_TARGET, ?peer, ?address, "peer identified provided invalid observed address");
395+
tracing::debug!(target: LOG_TARGET, ?peer, ?address, "peer identified provided observed address with peer ID not matching our peer ID; discarding address");
396396
return None;
397397
}
398398
}

0 commit comments

Comments
 (0)