add better defaults to blockchain config

This commit is contained in:
Iuri Matias 2015-12-06 16:01:17 -05:00
parent 9a33a392a5
commit 47a63844fd
1 changed files with 2 additions and 2 deletions

View File

@ -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
}