Skip to content

Commit

Permalink
chore: remove repetitive words (#12036)
Browse files Browse the repository at this point in the history
Signed-off-by: longhutianjie <git@before.tech>
  • Loading branch information
longhutianjie authored Sep 6, 2024
1 parent c9004a8 commit 3718df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/primitives/src/epoch_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct EpochSyncProofLastEpochData {
/// Any final block header in the next epoch (i.e. current epoch for the whole proof).
/// This is used to provide the `epoch_sync_data_hash` mentioned above.
pub final_block_header_in_next_epoch: BlockHeader,
/// Approvals for `final_block_header_in_next_epoch`, used to prove that that block header
/// Approvals for `final_block_header_in_next_epoch`, used to prove that block header
/// is valid.
pub approvals_for_final_block_in_next_epoch: Vec<Option<Box<Signature>>>,
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime-params-estimator/src/estimator_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl<'c> EstimatorContext<'c> {
);
if self.config.memtrie {
// NOTE: Since the store loaded from the state dump only contains the state, we directly provide the state root
// instead of letting the the loader code to locate it from the ChunkExtra (which is missing from the store).
// instead of letting the loader code to locate it from the ChunkExtra (which is missing from the store).
tries
.load_mem_trie(&shard_uid, Some(root), true)
.context("Failed load memtries for single shard")
Expand Down

0 comments on commit 3718df6

Please sign in to comment.