mirror of https://github.com/embarklabs/embark.git
add testnet option
This commit is contained in:
parent
d07ddaf1e8
commit
b5fc0f5b9a
|
@ -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 + "\" ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue