Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #4694

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/src/components/in_memory_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ where
/// # Panics
///
/// Panics if the internal lock has been poisoned, a network with the wrong type of message was
/// removed or if there was no network at at all.
/// removed or if there was no network at all.
pub(crate) fn remove_active() {
assert!(
ACTIVE_NETWORK.with(|active_network| {
Expand Down
2 changes: 1 addition & 1 deletion node/src/types/sync_leap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ mod tests {

let fault_tolerance_fraction = Ratio::new_raw(1, 3);

// Assert only if correct eras are selected, since the the
// Assert only if correct eras are selected, since the
// `should_return_era_validator_weights_for_correct_sync_leap` test already covers the
// actual weight validation.
let protocol_config = ProtocolConfig {
Expand Down
2 changes: 1 addition & 1 deletion types/src/system/auction/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub enum Error {
/// assert_eq!(17, Error::InvalidPublicKey as u8);
/// ```
InvalidPublicKey = 17,
/// Validator is not not bonded.
/// Validator is not bonded.
/// ```
/// # use casper_types::system::auction::Error;
/// assert_eq!(18, Error::BondNotFound as u8);
Expand Down