We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5ac1d commit 387e018Copy full SHA for 387e018
src/merkle_tree/mod.rs
@@ -322,7 +322,7 @@ impl<P: Config> MultiPath<P> {
322
let leaf_index = self.leaf_indexes[i];
323
let leaf = leaves.next().unwrap();
324
let leaf_sibling_hash = &self.leaf_siblings_hashes[i];
325
- let auth_path = &auth_paths[i];
+ let auth_path = auth_paths.next().unwrap();
326
327
let claimed_leaf_hash = P::LeafHash::evaluate(&leaf_hash_params, leaf.clone())?;
328
let (left_child, right_child) =
0 commit comments