diff --git a/beacon_node/eth2_libp2p/src/discovery/mod.rs b/beacon_node/eth2_libp2p/src/discovery/mod.rs index e6db78508e..d8b9015f0b 100644 --- a/beacon_node/eth2_libp2p/src/discovery/mod.rs +++ b/beacon_node/eth2_libp2p/src/discovery/mod.rs @@ -75,7 +75,7 @@ impl QueryType { Self::FindPeers => false, Self::Subnet { min_ttl, .. } => { if let Some(ttl) = min_ttl { - ttl > &Instant::now() + ttl < &Instant::now() } else { true } @@ -471,7 +471,7 @@ impl Discovery { .count(); if peers_on_subnet > TARGET_SUBNET_PEERS { - trace!(self.log, "Discovery ignored"; + debug!(self.log, "Discovery ignored"; "reason" => "Already connected to desired peers", "connected_peers_on_subnet" => peers_on_subnet, "target_subnet_peers" => TARGET_SUBNET_PEERS,