Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Oct 12, 2018
1 parent 9c8e4ac commit 4641916
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bench/bls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,8 @@ static void BLSVerify_LargeAggregatedBlock(size_t txCount, benchmark::State& sta
CBLSSignature aggSig = CBLSSignature::AggregateInsecure(sigs);

// Benchmark.
size_t i = 0;
while (state.KeepRunning()) {
aggSig.VerifyInsecureAggregated(pubKeys, msgHashes);
i = (i + 1) % pubKeys.size();
}
}

Expand Down Expand Up @@ -218,7 +216,6 @@ static void BLSVerify_LargeAggregatedBlock1000PreVerified(benchmark::State& stat
}

// Benchmark.
size_t i = 0;
while (state.KeepRunning()) {
BLSPublicKeyVector nonvalidatedPubKeys;
std::vector<uint256> nonvalidatedHashes;
Expand All @@ -240,7 +237,6 @@ static void BLSVerify_LargeAggregatedBlock1000PreVerified(benchmark::State& stat

bool valid = aggSigCopy.VerifyInsecureAggregated(nonvalidatedPubKeys, nonvalidatedHashes);
assert(valid);
i = (i + 1) % pubKeys.size();
}
}

Expand Down

0 comments on commit 4641916

Please sign in to comment.