Skip to content

Commit

Permalink
updated syntax for iterators in multipath.verify
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin <[email protected]>
  • Loading branch information
intx4 and mmagician authored Jan 18, 2024
1 parent 2eb01db commit 7f5ac1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/merkle_tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl<P: Config> MultiPath<P> {

for i in 0..self.leaf_indexes.len() {
let leaf_index = self.leaf_indexes[i];
let leaf = &leaves[i];
let leaf = leaves.next().unwrap();
let leaf_sibling_hash = &self.leaf_siblings_hashes[i];
let auth_path = &auth_paths[i];

Expand Down

0 comments on commit 7f5ac1d

Please sign in to comment.