chore: fix typo

This commit is contained in:
Bobbin Threadbare 2025-01-19 14:10:59 -08:00
parent 6da2a62b2b
commit a75dced6e9
No known key found for this signature in database
GPG key ID: 289C444AD87BC941

View file

@ -46,7 +46,7 @@ impl SmtLeaf {
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(),