Skip to content

Commit

Permalink
Merge branch 'to-rust-update' into typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Mar 20, 2021
2 parents c6b8ee4 + 01dd17a commit be56ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async function warmingUp(bench, minIter, maxTime) {
function createBenchmarkFn(fixtures, fn) {
return async function (secp256k1) {
for (const f of fixtures) {
let result = await fn(secp256k1, f);
let result = fn(secp256k1, f);
if (result.then) await result;
}
return fixtures.length;
Expand Down

0 comments on commit be56ef5

Please sign in to comment.