diff --git a/node/network/src/peer_manager/network_behaviour.rs b/node/network/src/peer_manager/network_behaviour.rs index da5c0a3..b735d06 100644 --- a/node/network/src/peer_manager/network_behaviour.rs +++ b/node/network/src/peer_manager/network_behaviour.rs @@ -134,7 +134,7 @@ impl NetworkBehaviour for PeerManager { BanResult::NotBanned => {} } - // Count dialing peers in the limit if the peer dialied us. + // Count dialing peers in the limit if the peer dialed us. let count_dialing = endpoint.is_listener(); // Check the connection limits if self.peer_limit_reached(count_dialing) diff --git a/node/network/src/peer_manager/peerdb/client.rs b/node/network/src/peer_manager/peerdb/client.rs index aaacbcc..da1708e 100644 --- a/node/network/src/peer_manager/peerdb/client.rs +++ b/node/network/src/peer_manager/peerdb/client.rs @@ -19,7 +19,7 @@ pub struct Client { #[derive(Clone, Copy, Debug, Serialize, PartialEq, Eq, AsRefStr, IntoStaticStr, EnumIter)] pub enum ClientKind { - /// An Zgs node. + /// A Zgs node. Zgs, /// An unknown client. Unknown,