arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
chore: fix typo
Bobbin Threadbare bobbinth@protonmail.com
Sun, 19 Jan 2025 14:10:59 -0800
commit

a75dced6e9af0fe08cfd03e98035b09958a5a2ab

parent

6da2a62b2b173e2332cb1441b29b48dcaff614ea

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/merkle/smt/full/leaf.rs → src/merkle/smt/full/leaf.rs

@@ -46,7 +46,7 @@ _ => {

let leaf = Self::new_multiple(entries)?; // `new_multiple()` checked that all keys map to the same leaf index. We still need - // to ensure that that leaf index is `leaf_index`. + // to ensure that leaf index is `leaf_index`. if leaf.index() != leaf_index { Err(SmtLeafError::InconsistentMultipleLeafIndices { leaf_index_from_keys: leaf.index(),