mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 09:46:37 +00:00
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…
x
Reference in New Issue
Block a user