add better defaults to blockchain config
This commit is contained in:
parent
9a33a392a5
commit
47a63844fd
|
@ -42,7 +42,7 @@ BlockchainConfig.prototype.config = function(env) {
|
|||
genesisBlock: config.genesis_block,
|
||||
datadir: config.datadir,
|
||||
chains: config.chains,
|
||||
bootNodes: config.bootnodes,
|
||||
bootNodes: config.bootnodes || [],
|
||||
deployTimeout: config.deploy_timeout || 20,
|
||||
networkId: networkId,
|
||||
maxPeers: config.max_peers || 4,
|
||||
|
@ -51,7 +51,7 @@ 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue