fix network config type

This commit is contained in:
Iuri Matias 2016-10-30 20:01:25 -04:00
parent 5c05b7f8d9
commit 0a2a26fd29
1 changed files with 3 additions and 3 deletions

View File

@ -54,6 +54,8 @@ GethCommands.prototype.listAccountsCommand = function() {
cmd += "--testnet ";
} else if (config.networkType === 'olympic') {
cmd += "--olympic ";
} else if (config.networkType === 'custom') {
cmd += "--networkid " + config.networkId + " ";
}
if (config.datadir) {
@ -80,9 +82,7 @@ GethCommands.prototype.mainCommand = function(address) {
cmd += "--testnet ";
} else if (config.networkType === 'olympic') {
cmd += "--olympic ";
}
if (config.networkType === 'custom') {
} else if (config.networkType === 'custom') {
cmd += "--networkid " + config.networkId + " ";
}