Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 committed Jan 5, 2024
1 parent 28319ff commit 652c393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zcash_client_sqlite/src/wallet/commitment_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub enum Error {
impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match &self {
Error::Serialization(err) => write!(f, "Commitment tree serializtion error: {}", err),
Error::Serialization(err) => write!(f, "Commitment tree serialization error: {}", err),

Check warning on line 51 in zcash_client_sqlite/src/wallet/commitment_tree.rs

View check run for this annotation

Codecov / codecov/patch

zcash_client_sqlite/src/wallet/commitment_tree.rs#L51

Added line #L51 was not covered by tests
Error::Query(err) => write!(f, "Commitment tree query or update error: {}", err),
Error::CheckpointConflict {
checkpoint_id,
Expand All @@ -68,7 +68,7 @@ impl fmt::Display for Error {
} => {
write!(
f,
"Attempted to write subtree roots with indicies {:?} which is discontinuous with existing subtree range {:?}",
"Attempted to write subtree roots with indices {:?} which is discontinuous with existing subtree range {:?}",
attempted_insertion_range, existing_range,
)
}
Expand Down

0 comments on commit 652c393

Please sign in to comment.