Skip to content

Commit

Permalink
chore: remove redundant word in comment
Browse files Browse the repository at this point in the history
Signed-off-by: wangjingcun <[email protected]>
  • Loading branch information
wangjingcun committed Nov 7, 2024
1 parent 9c42b12 commit 40046a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion beacon_node/network/src/sync/range_sync/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ impl<T: BeaconChainTypes> SyncingChain<T> {
BatchOperationOutcome::Failed { blacklist } => {
// Check that we have not exceeded the re-process retry counter,
// If a batch has exceeded the invalid batch lookup attempts limit, it means
// that it is likely all peers in this chain are are sending invalid batches
// that it is likely all peers in this chain are sending invalid batches
// repeatedly and are either malicious or faulty. We drop the chain and
// report all peers.
// There are some edge cases with forks that could land us in this situation.
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/store/src/hot_cold_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2874,7 +2874,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
);
self.cold_db.do_atomically(std::mem::take(&mut cold_ops))?;

// If we just deleted the the genesis state, re-store it using the *current* schema, which
// If we just deleted the genesis state, re-store it using the *current* schema, which
// may be different from the schema of the genesis state we just deleted.
if self.get_split_slot() > 0 {
info!(
Expand Down
2 changes: 1 addition & 1 deletion crypto/kzg/src/trusted_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct G2Point([u8; BYTES_PER_G2_POINT]);
/// `c_kzg::KzgSettings` object.
///
/// The serialize/deserialize implementations are written according to
/// the format specified in the the ethereum consensus specs trusted setup files.
/// the format specified in the ethereum consensus specs trusted setup files.
///
/// See https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/trusted_setups/trusted_setup_4096.json
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
Expand Down

0 comments on commit 40046a3

Please sign in to comment.