fix testnet and olympic network types
This commit is contained in:
parent
9a261681da
commit
a09f680ca7
|
@ -46,9 +46,9 @@ class GethCommands {
|
|||
determineNetworkType(config) {
|
||||
let cmd;
|
||||
if (config.networkType === 'testnet') {
|
||||
cmd = "--testnet ";
|
||||
cmd = "--testnet";
|
||||
} else if (config.networkType === 'olympic') {
|
||||
cmd = "--olympic ";
|
||||
cmd = "--olympic";
|
||||
} else if (config.networkType === 'custom') {
|
||||
cmd = "--networkid=" + config.networkId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue