commit 1cc8500cb036b0158d53a5a02531255ffb3b8545
parent 055685e78528aaf6b57ce70c4cc0221f5c0f37a3
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 24 Feb 2020 22:41:11 +0530
code style
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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");