Skip to content

Commit

Permalink
chore: fix typos (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfuhfds authored Apr 22, 2024
1 parent 862c79e commit b745dc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/banking_stage/unprocessed_transaction_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use {
// multi-iterator change, there's no point in getting larger batches of
// non-conflicting transactions.
pub const UNPROCESSED_BUFFER_STEP_SIZE: usize = 64;
/// Maximum numer of votes a single receive call will accept
/// Maximum number of votes a single receive call will accept
const MAX_NUM_VOTES_RECEIVE: usize = 10_000;

#[derive(Debug)]
Expand Down
2 changes: 1 addition & 1 deletion core/src/repair/quic_endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct LocalRequest {
pub(crate) response_sender: Sender<(SocketAddr, Vec<u8>)>,
}

// Incomming requests from remote nodes.
// Incoming requests from remote nodes.
// remote_pubkey and response_sender are None only when adapting UDP packets.
pub struct RemoteRequest {
pub(crate) remote_pubkey: Option<Pubkey>,
Expand Down
2 changes: 1 addition & 1 deletion core/src/repair/serve_repair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ mod tests {
Shred::new_from_data(slot, index, 1, &[], ShredFlags::empty(), 0, 0, 0)
}
let repair = ShredRepairType::Orphan(9);
// Ensure new options are addded to this test
// Ensure new options are added to this test
match repair {
ShredRepairType::Orphan(_)
| ShredRepairType::HighestShred(_, _)
Expand Down

0 comments on commit b745dc9

Please sign in to comment.