From 652c393896c6d32eb39886d5acacc865e3aeca20 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Fri, 5 Jan 2024 12:44:57 +0200 Subject: [PATCH] Fix typo --- zcash_client_sqlite/src/wallet/commitment_tree.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zcash_client_sqlite/src/wallet/commitment_tree.rs b/zcash_client_sqlite/src/wallet/commitment_tree.rs index 8cd0b4d73..a57668bef 100644 --- a/zcash_client_sqlite/src/wallet/commitment_tree.rs +++ b/zcash_client_sqlite/src/wallet/commitment_tree.rs @@ -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), Error::Query(err) => write!(f, "Commitment tree query or update error: {}", err), Error::CheckpointConflict { checkpoint_id, @@ -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, ) }