Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: jimmycathy <[email protected]>
  • Loading branch information
jimmycathy committed May 4, 2024
1 parent 9375c1b commit 3510384
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zcash_client_backend/src/scanning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ fn find_received<
{
// Collect block note commitments
let node = extract_note_commitment(output);
// If the commitment is the last in the block, ensure that is is retained as a checkpoint
// If the commitment is the last in the block, ensure that is retained as a checkpoint
let is_checkpoint = output_idx + 1 == decoded.len() && last_commitments_in_block;
let retention = match (decrypted_note.is_some(), is_checkpoint) {
(is_marked, true) => Retention::Checkpoint {
Expand Down
2 changes: 1 addition & 1 deletion zcash_history/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl std::fmt::Display for Error {
}
}

/// Reference to to the tree node.
/// Reference to the tree node.
#[repr(C)]
#[derive(Clone, Copy, Debug)]
pub enum EntryLink {
Expand Down
2 changes: 1 addition & 1 deletion zcash_history/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl<V: Version> Tree<V> {
}
}

/// New view into the the tree array representation
/// New view into the tree array representation
///
/// `length` is total length of the array representation (is generally not a sum of
/// peaks.len + extra.len)
Expand Down

0 comments on commit 3510384

Please sign in to comment.