mirror of https://github.com/embarklabs/embark.git
commit
58b2cb84ae
|
@ -27,6 +27,10 @@ Blockchain.prototype.generate_basic_command = function() {
|
|||
cmd += "--networkid " + config.networkId + " ";
|
||||
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";
|
||||
|
||||
if(config.testnet){
|
||||
cmd += "--testnet "
|
||||
}
|
||||
|
||||
if (config.minerthreads !== void 0) {
|
||||
cmd += "--minerthreads \"" + config.minerthreads + "\" ";
|
||||
}
|
||||
|
|
|
@ -51,7 +51,8 @@ BlockchainConfig.prototype.config = function(env) {
|
|||
mine_when_needed: config.mine_when_needed || false,
|
||||
whisper: config.whisper || false,
|
||||
account: config.account,
|
||||
geth_extra_opts: config.geth_extra_opts
|
||||
geth_extra_opts: config.geth_extra_opts,
|
||||
testnet: config.testnet || false
|
||||
}
|
||||
|
||||
return config;
|
||||
|
|
Loading…
Reference in New Issue