update default dev networkid to be the same as --dev option chainId
This commit is contained in:
parent
7686ad561f
commit
3a62f6a121
|
@ -23,7 +23,7 @@ var Blockchain = function(options) {
|
|||
rpcHost: this.blockchainConfig.rpcHost || 'localhost',
|
||||
rpcPort: this.blockchainConfig.rpcPort || 8545,
|
||||
rpcCorsDomain: this.blockchainConfig.rpcCorsDomain || false,
|
||||
networkId: this.blockchainConfig.networkId || 12301,
|
||||
networkId: this.blockchainConfig.networkId || 1337,
|
||||
port: this.blockchainConfig.port || 30303,
|
||||
nodiscover: this.blockchainConfig.nodiscover || false,
|
||||
mine: this.blockchainConfig.mine || false,
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
"development": {
|
||||
"enabled": true,
|
||||
"networkType": "custom",
|
||||
"networkId": "1337",
|
||||
"isDev": true,
|
||||
"genesisBlock": "config/development/genesis.json",
|
||||
"datadir": ".embark/development/datadir",
|
||||
"isDev": true,
|
||||
"mineWhenNeeded": true,
|
||||
"nodiscover": true,
|
||||
"maxpeers": 0,
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
"development": {
|
||||
"enabled": true,
|
||||
"networkType": "custom",
|
||||
"networkId": "1337",
|
||||
"isDev": true,
|
||||
"genesisBlock": "config/development/genesis.json",
|
||||
"datadir": ".embark/development/datadir",
|
||||
"isDev": true,
|
||||
"mineWhenNeeded": true,
|
||||
"nodiscover": true,
|
||||
"maxpeers": 0,
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
"development": {
|
||||
"enabled": true,
|
||||
"networkType": "custom",
|
||||
"networkId": "1337",
|
||||
"isDev": true,
|
||||
"genesisBlock": "development/genesis.json",
|
||||
"datadir": ".embark/development/datadir",
|
||||
"isDev": true,
|
||||
"mineWhenNeeded": true,
|
||||
"nodiscover": true,
|
||||
"maxpeers": 0,
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
"development": {
|
||||
"enabled": true,
|
||||
"networkType": "custom",
|
||||
"networkId": "1337",
|
||||
"isDev": true,
|
||||
"genesisBlock": "config/development/genesis.json",
|
||||
"datadir": ".embark/development/datadir",
|
||||
"isDev": true,
|
||||
"mineWhenNeeded": true,
|
||||
"nodiscover": true,
|
||||
"maxpeers": 0,
|
||||
|
|
Loading…
Reference in New Issue