Skip to content

Commit

Permalink
chore: fix worker usage
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Oct 23, 2023
1 parent deba946 commit b8d6113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/chain/historicalState/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ModuleThread, Thread, spawn} from "@chainsafe/threads";
import {ModuleThread, Thread, spawn, Worker} from "@chainsafe/threads";
import {chainConfigToJson} from "@lodestar/config";
import {LoggerNode} from "@lodestar/logger/node";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/src/chain/historicalState/worker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import worker from "node:worker_threads";
import {expose} from "@chainsafe/threads";
import {expose} from "@chainsafe/threads/worker";
import {createBeaconConfig, chainConfigFromJson} from "@lodestar/config";
import {getNodeLogger} from "@lodestar/logger/node";
import {BeaconStateTransitionMetrics, PubkeyIndexMap} from "@lodestar/state-transition";
Expand Down

0 comments on commit b8d6113

Please sign in to comment.