Skip to content

Commit

Permalink
fix(merkle): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfertel committed May 1, 2024
1 parent a3c918d commit c3ee05e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/crypto/src/merkle/keccak.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! An interface to the default hasing algorithm used in this library's [merkle
//! An interface to the default hashing algorithm used in this library's [merkle
//! proofs][super].
use tiny_keccak::{Hasher as TinyHasher, Keccak};

Expand Down
4 changes: 2 additions & 2 deletions lib/crypto/src/merkle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ where
///
/// WARNING: This is a lower-level function. For most use cases,
/// [`Verifier::verify`], which uses `keccak256` as a hashing algorithm,
/// should be enough. Using other hasing algorithm may have unexpected
/// should be enough. Using other hashing algorithm may have unexpected
/// results.
///
/// # Arguments
Expand Down Expand Up @@ -243,7 +243,7 @@ where
///
/// WARNING: This is a lower-level function. For most use cases,
/// [`Verifier::verify_multi_proof`], which uses `keccak256` as a hashing
/// algorithm, should be enough. Using other hasing algorithm may have
/// algorithm, should be enough. Using other hashing algorithm may have
/// unexpected results.
///
/// The `proof` must contain the sibling hashes one would need to rebuild
Expand Down

0 comments on commit c3ee05e

Please sign in to comment.