fix testnet and olympic network types

This commit is contained in:
Jonathan Rainville 2018-06-14 15:22:01 -04:00
parent 9a261681da
commit a09f680ca7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}