diff --git a/packages/utreexo/src/stump/accumulator.cairo b/packages/utreexo/src/stump/accumulator.cairo index 993c7414..9213e82a 100644 --- a/packages/utreexo/src/stump/accumulator.cairo +++ b/packages/utreexo/src/stump/accumulator.cairo @@ -13,12 +13,7 @@ pub impl StumpUtreexoAccumulatorImpl of StumpUtreexoAccumulator { fn verify( self: @UtreexoStumpState, proof: @UtreexoBatchProof, del_hashes: Span ) -> Result<(), ByteArray> { - if (*proof.targets).is_empty() { - return Result::Ok(()); - }; - let computed_roots: Span = proof.compute_roots(del_hashes, *self.num_leaves)?; - let mut number_matched_roots: u32 = 0; for i in 0