mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 01:37:26 +00:00
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…
x
Reference in New Issue
Block a user