code style
This commit is contained in:
parent
055685e785
commit
1cc8500cb0
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user