Skip to content

Commit

Permalink
fixed a couple of typos (#3963)
Browse files Browse the repository at this point in the history
  • Loading branch information
pls148 authored Dec 12, 2024
1 parent 43263a5 commit b8a711b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/examples/infra/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion crates/task-impls/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub struct NetworkMessageTaskState<TYPES: NodeType> {
/// 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<u64, ()>,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/task-impls/src/quorum_vote/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,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
Expand Down

0 comments on commit b8a711b

Please sign in to comment.