Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
aeyakovenko committed Feb 11, 2022
1 parent aa7deda commit 3553aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perf/src/sigverify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ pub fn shrink_batches(batches: &mut Vec<PacketBatch>) -> usize {
done = true;
break;
}
ii += 1;
ii = ii.saturating_add(1);
}
if ii >= batches[i].packets.len() {
ii = 0;
Expand All @@ -539,7 +539,7 @@ pub fn shrink_batches(batches: &mut Vec<PacketBatch>) -> usize {
jj = 0;
j = j.saturating_add(1);
}
last + 1
last.saturating_add(1)
}

pub fn ed25519_verify_cpu(batches: &mut [PacketBatch], reject_non_vote: bool, packet_count: usize) {
Expand Down

0 comments on commit 3553aae

Please sign in to comment.