From f308f0068fb675ab10f5fef6db1b5759b77e76b3 Mon Sep 17 00:00:00 2001 From: pls148 <184445976+pls148@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:32:46 -0800 Subject: [PATCH] fixed a couple of typos --- crates/examples/infra/mod.rs | 2 +- crates/task-impls/src/network.rs | 2 +- crates/task-impls/src/quorum_vote/handlers.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/examples/infra/mod.rs b/crates/examples/infra/mod.rs index 2462215dd9..88a2ff900b 100755 --- a/crates/examples/infra/mod.rs +++ b/crates/examples/infra/mod.rs @@ -736,7 +736,7 @@ where .to_string() }; - // Create the qurorum membership from the list of known nodes + // Create the quorum membership from the list of known nodes let all_nodes = config.config.known_nodes_with_stake.clone(); let da_nodes = config.config.known_da_nodes.clone(); let quorum_membership = TYPES::Membership::new(all_nodes, da_nodes); diff --git a/crates/task-impls/src/network.rs b/crates/task-impls/src/network.rs index b885e2f7e5..5c872ca4b8 100644 --- a/crates/task-impls/src/network.rs +++ b/crates/task-impls/src/network.rs @@ -55,7 +55,7 @@ pub struct NetworkMessageTaskState { /// This nodes public key pub public_key: TYPES::SignatureKey, - /// Transaction Cache to ignore previously seen transatctions + /// Transaction Cache to ignore previously seen transactions pub transactions_cache: lru::LruCache, } diff --git a/crates/task-impls/src/quorum_vote/handlers.rs b/crates/task-impls/src/quorum_vote/handlers.rs index c434352ba1..e29a04d506 100644 --- a/crates/task-impls/src/quorum_vote/handlers.rs +++ b/crates/task-impls/src/quorum_vote/handlers.rs @@ -284,7 +284,7 @@ pub(crate) async fn update_shared_state< let justify_qc = &proposed_leaf.justify_qc(); let consensus_reader = consensus.read().await; - // Try to find the validated vview within the validasted state map. This will be present + // Try to find the validated view within the validated state map. This will be present // if we have the saved leaf, but if not we'll get it when we fetch_proposal. let mut maybe_validated_view = parent_view_number.and_then(|view_number| { consensus_reader