config: fix litecoin simnet mode

This commit fixes a bug where it was impossible to run lnd in litecoin's
simnet mode because of code duplication. As a result `numNets > 1`
conditional was always true when running lnd with `cfg.Litecoin.SimNet`
flag.
This commit is contained in:
Karl Ranna 2019-05-05 18:35:18 +03:00
parent 7f08c097fb
commit d941220762

@ -647,10 +647,6 @@ func loadConfig() (*config, error) {
numNets++
ltcParams = litecoinTestNetParams
}
if cfg.Litecoin.SimNet {
numNets++
ltcParams = litecoinSimNetParams
}
if cfg.Litecoin.RegTest {
numNets++
ltcParams = litecoinRegTestNetParams