Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pompon0 committed Aug 19, 2024
1 parent 3f1056c commit 25476c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/actors/network/src/gossip/handshake/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
}

Expand All @@ -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(),
})
}
Expand Down

0 comments on commit 25476c6

Please sign in to comment.