mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
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…
x
Reference in New Issue
Block a user