mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +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 ";
|
||||
} 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 + " ";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user