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