nasa8x / node-genesis-block

Create Genesis Block for Bitcoin, Litcoin, Dash, X11, X13, X15, X17, Geek, Quark, Keccak, Qubit, NeoScrypt, Scrypt...
https://morioh.com/topic/blockchain
40 stars 92 forks source link

bugged #14

Open SoraKohaku opened 6 years ago

SoraKohaku commented 6 years ago

root@vps-e54d80:~/genesis-block0# node genesis -a cryptonight -z 1526726543 /root/genesis-block0/node_modules/yargs/yargs.js:1101 else throw err ^

TypeError: this is not a typed array. at Function.from (native) at createInputScript (/root/genesis-block0/genesis.js:61:64) at createTx (/root/genesis-block0/genesis.js:72:17) at Object.handler (/root/genesis-block0/genesis.js:40:37) at Object.runCommand (/root/genesis-block0/node_modules/yargs/lib/command.js:235:44) at Object.parseArgs [as _parseArgs] (/root/genesis-block0/node_modules/yargs/yargs.js:1042:24) at Object.Yargs.self.$0.self.resetOptions.self.reset.tmpOptions.local.forEach.Object.keys.reduce.arrayOptions.forEach.keys.forEach.key.forEach.Object.keys.forEach.Object.keys.forEach.self.config.self.demand.self.required.self.global.self.option.self.positional.self.group.self.exit.Object.defineProperty.get [as argv] (/root/genesis-block0/node_modules/yargs/yargs.js:957:21) at Object. (/root/genesis-block0/genesis.js:55:5) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

swatchie-1 commented 6 years ago

yeah same issue