diff options
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts index a5dad3856..0f690f26a 100644 --- a/src/headless/helpers.ts +++ b/src/headless/helpers.ts @@ -117,7 +117,7 @@ export async function getDefaultNodeWallet( let workerFactory; try { // Try if we have worker threads available, fails in older node versions. - require("worker_threads") + require("worker_threads"); workerFactory = new NodeThreadCryptoWorkerFactory(); } catch (e) { console.log("worker threads not available, falling back to synchronous workers"); |