Skip to content

Commit

Permalink
Fix in logging number of successfully verified proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeza committed Sep 12, 2024
1 parent 3edefcd commit 9fe3bac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/verify-era-proof-attestation/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9fe3bac

Please sign in to comment.