diff --git a/src/p2p/behaviour.rs b/src/p2p/behaviour.rs index d6166da3..ec20670f 100644 --- a/src/p2p/behaviour.rs +++ b/src/p2p/behaviour.rs @@ -84,10 +84,12 @@ impl NetworkBehaviourEventProcess for Behaviour } GetClosestPeers(Ok(GetClosestPeersOk { key: _, peers })) => { for peer in peers { + // don't mention the key here, as this is just the id of our node debug!("kad: peer {} is close", peer); } } GetClosestPeers(Err(GetClosestPeersError::Timeout { key: _, peers })) => { + // don't mention the key here, as this is just the id of our node warn!( "kad: timed out trying to find all closest peers; got the following:" );