From 1cc8500cb036b0158d53a5a02531255ffb3b8545 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 24 Feb 2020 22:41:11 +0530 Subject: [PATCH] code style --- src/headless/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");