From 25476c6a97e9f52d229a1cd11805361f2cc79c30 Mon Sep 17 00:00:00 2001 From: Grzegorz Prusak Date: Mon, 19 Aug 2024 12:20:27 +0200 Subject: [PATCH] typo --- node/actors/network/src/gossip/handshake/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/actors/network/src/gossip/handshake/mod.rs b/node/actors/network/src/gossip/handshake/mod.rs index a73952c7..9bcb1a2a 100644 --- a/node/actors/network/src/gossip/handshake/mod.rs +++ b/node/actors/network/src/gossip/handshake/mod.rs @@ -31,7 +31,7 @@ pub(crate) struct Handshake { /// It is informational only, it doesn't affect the logic of the node. pub(crate) is_static: bool, /// Version at which peer's binary has been built. - /// It is declared by peer (i.e. not verifed in any way). + /// It is declared by peer (i.e. not verified in any way). pub(crate) build_version: Option, } @@ -42,7 +42,6 @@ impl ProtoFmt for Handshake { session_id: read_required(&r.session_id).context("session_id")?, genesis: read_required(&r.genesis).context("genesis")?, is_static: *required(&r.is_static).context("is_static")?, - build_version: r.build_version.clone(), }) }