diff --git a/lib/blockchain.js b/lib/blockchain.js index 9ab5deaf..adf0f871 100644 --- a/lib/blockchain.js +++ b/lib/blockchain.js @@ -27,6 +27,10 @@ Blockchain.prototype.generate_basic_command = function() { cmd += "--networkid " + config.networkId + " "; cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" "; + if(config.testnet !== void 0){ + cmd += "--testnet " + } + if (config.minerthreads !== void 0) { cmd += "--minerthreads \"" + config.minerthreads + "\" "; }