Skip to content

Commit 01dd17a

Browse files
committed
remove extra await in benches
1 parent b9a7b6d commit 01dd17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async function warmingUp(bench, minIter, maxTime) {
133133
function createBenchmarkFn(fixtures, fn) {
134134
return async function (secp256k1) {
135135
for (const f of fixtures) {
136-
let result = await fn(secp256k1, f);
136+
let result = fn(secp256k1, f);
137137
if (result.then) await result;
138138
}
139139
return fixtures.length;

0 commit comments

Comments
 (0)