From a56876eb1aeb1ed29503b52007e7ad14846e7507 Mon Sep 17 00:00:00 2001 From: Romashka Date: Mon, 23 Dec 2024 05:45:19 +0200 Subject: [PATCH] Fix/err (#302) * code-Update mod.rs * typo-Update protocol.rs --- node/network/src/discovery/mod.rs | 2 +- node/network/src/rpc/protocol.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/network/src/discovery/mod.rs b/node/network/src/discovery/mod.rs index 554b64e..4006432 100644 --- a/node/network/src/discovery/mod.rs +++ b/node/network/src/discovery/mod.rs @@ -84,7 +84,7 @@ enum EventStream { InActive, } -/// The main discovery service. This can be disabled via CLI arguements. When disabled the +/// The main discovery service. This can be disabled via CLI arguments. When disabled the /// underlying processes are not started, but this struct still maintains our current ENR. pub struct Discovery { /// A collection of seen live ENRs for quick lookup and to map peer-id's to ENRs. diff --git a/node/network/src/rpc/protocol.rs b/node/network/src/rpc/protocol.rs index f553060..86f018c 100644 --- a/node/network/src/rpc/protocol.rs +++ b/node/network/src/rpc/protocol.rs @@ -104,7 +104,7 @@ pub enum Version { V1, } -/// RPC Encondings supported. +/// RPC Encodings supported. #[derive(Debug, Clone, PartialEq, Eq)] pub enum Encoding { SSZSnappy,