diff --git a/zk_prover/src/merkle_sum_tree/aggregation_mst.rs b/zk_prover/src/merkle_sum_tree/aggregation_mst.rs index a608e287..c36f2fa4 100644 --- a/zk_prover/src/merkle_sum_tree/aggregation_mst.rs +++ b/zk_prover/src/merkle_sum_tree/aggregation_mst.rs @@ -103,7 +103,7 @@ impl AggregationMerkleSumTree( let mut path_indices = vec![Fp::from(0); depth]; let mut current_index = index; - let leaf = &nodes[0][index]; // Added this line to store the leaf node + let leaf = &nodes[0][index]; for level in 0..depth { let position = current_index % 2;