Skip to content

Commit

Permalink
Can't import nan based module in both parent and worker threads. node…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikasg7 committed Jun 23, 2021
1 parent 40afe3a commit 6003bac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const yargs = require("yargs")
const { main } = require("./miner")
const { log } = require("console")
const algos = require("crypto-algos")

const args =
yargs
Expand Down Expand Up @@ -41,9 +40,9 @@ const args =
"a": {
type: "string",
demandOption: true,
describe: Object.keys(algos).join(", "),
describe: "Check crypto-algos repo",
alias: "algo",
default: 1
default: "scrypt"
}
})
.help()
Expand Down

0 comments on commit 6003bac

Please sign in to comment.