diff --git a/bin/verify-era-proof-attestation/src/main.rs b/bin/verify-era-proof-attestation/src/main.rs index 78a489c..9b548cc 100644 --- a/bin/verify-era-proof-attestation/src/main.rs +++ b/bin/verify-era-proof-attestation/src/main.rs @@ -126,7 +126,8 @@ async fn verify_batches_proofs( sleep(args.rate_limit).await; } - let verified_batches_count = current_batch_number.0 - first_batch_number.0; + let verified_batches_count = + current_batch_number.0 - first_batch_number.0 - unverified_batches_count; if unverified_batches_count > 0 { if verified_batches_count == 0 {