summaryrefslogtreecommitdiff
path: root/src/headless/helpers.ts
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/headless/helpers.ts
parent055685e78528aaf6b57ce70c4cc0221f5c0f37a3 (diff)
downloadwallet-core-1cc8500cb036b0158d53a5a02531255ffb3b8545.tar.gz
wallet-core-1cc8500cb036b0158d53a5a02531255ffb3b8545.tar.bz2
wallet-core-1cc8500cb036b0158d53a5a02531255ffb3b8545.zip
code style
Diffstat (limited to 'src/headless/helpers.ts')
-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");