chore: fix typo
This commit is contained in:
parent
6da2a62b2b
commit
a75dced6e9
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ impl SmtLeaf {
|
||||||
let leaf = Self::new_multiple(entries)?;
|
let leaf = Self::new_multiple(entries)?;
|
||||||
|
|
||||||
// `new_multiple()` checked that all keys map to the same leaf index. We still need
|
// `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 {
|
if leaf.index() != leaf_index {
|
||||||
Err(SmtLeafError::InconsistentMultipleLeafIndices {
|
Err(SmtLeafError::InconsistentMultipleLeafIndices {
|
||||||
leaf_index_from_keys: leaf.index(),
|
leaf_index_from_keys: leaf.index(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue