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