mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-12 15:04:29 +00:00
fix network config type
This commit is contained in:
parent
5c05b7f8d9
commit
0a2a26fd29
@ -54,6 +54,8 @@ GethCommands.prototype.listAccountsCommand = function() {
|
|||||||
cmd += "--testnet ";
|
cmd += "--testnet ";
|
||||||
} else if (config.networkType === 'olympic') {
|
} else if (config.networkType === 'olympic') {
|
||||||
cmd += "--olympic ";
|
cmd += "--olympic ";
|
||||||
|
} else if (config.networkType === 'custom') {
|
||||||
|
cmd += "--networkid " + config.networkId + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.datadir) {
|
if (config.datadir) {
|
||||||
@ -80,9 +82,7 @@ GethCommands.prototype.mainCommand = function(address) {
|
|||||||
cmd += "--testnet ";
|
cmd += "--testnet ";
|
||||||
} else if (config.networkType === 'olympic') {
|
} else if (config.networkType === 'olympic') {
|
||||||
cmd += "--olympic ";
|
cmd += "--olympic ";
|
||||||
}
|
} else if (config.networkType === 'custom') {
|
||||||
|
|
||||||
if (config.networkType === 'custom') {
|
|
||||||
cmd += "--networkid " + config.networkId + " ";
|
cmd += "--networkid " + config.networkId + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user