Merge pull request #1089 from rex4539/typos

Fix typo
This commit is contained in:
Kris Nuttycombe 2024-01-05 09:57:17 -07:00 committed by GitHub
commit 5d7638ccf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
)
}