aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-02-24 22:41:11 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-02-24 22:41:11 +0530
commit1cc8500cb036b0158d53a5a02531255ffb3b8545 (patch)
treec5f074d575a0ceb5182bdcfaec2e5a769ec43397 /src
parent055685e78528aaf6b57ce70c4cc0221f5c0f37a3 (diff)
code style
Diffstat (limited to 'src')
-rw-r--r--src/headless/helpers.ts2
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");