Skip to content

Commit

Permalink
fix: remove await
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Jan 7, 2025
1 parent 098a8a4 commit c09534b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/persistent-merkle-tree/test/perf/hasher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe("hashtree", function () {
id: "get root",
beforeEach: async () => {
const [tree] = buildComparisonTrees(16);
await setHasher(hashtreeHasher);
setHasher(hashtreeHasher);
return tree;
},
fn: (tree) => {
Expand Down
2 changes: 1 addition & 1 deletion setHasher.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
// Used to run benchmarks with with visibility into hashtree performance, useful for Lodestar
import {setHasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/index.js";
import {hasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/hashtree.js";
await setHasher(hasher);
setHasher(hasher);

export {};

0 comments on commit c09534b

Please sign in to comment.