Skip to content

Commit cf6347d

Browse files
committed
Can't import nan based module in both parent and worker threads. nodejs/node#21783 (comment)
1 parent aa17cc8 commit cf6347d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const yargs = require("yargs")
22
const { main } = require("./miner")
33
const { log } = require("console")
4-
const algos = require("crypto-algos")
54

65
const args =
76
yargs
@@ -41,9 +40,9 @@ const args =
4140
"a": {
4241
type: "string",
4342
demandOption: true,
44-
describe: Object.keys(algos).join(", "),
43+
describe: "Check crypto-algos repo",
4544
alias: "algo",
46-
default: 1
45+
default: "scrypt"
4746
}
4847
})
4948
.help()

0 commit comments

Comments
 (0)