Skip to content

Commit

Permalink
Update program-libs/batched-merkle-tree/src/merkle_tree.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block authored Jan 20, 2025
1 parent cb31ea1 commit 9506e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program-libs/batched-merkle-tree/src/merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ impl<'a> BatchedMerkleTreeAccount<'a> {
&mut self,
value: &[u8; 32],
) -> Result<(), BatchedMerkleTreeError> {
for i in 0..2 {
for i in 0..self.queue_metadata.num_batches {
Batch::check_non_inclusion(
self.queue_metadata.batches[i].num_iters as usize,
self.queue_metadata.batches[i].bloom_filter_capacity,
Expand Down

0 comments on commit 9506e4b

Please sign in to comment.