Merge pull request #3358 from halseth/mainnet-neutrino

config: allow mainnet neutrino
This commit is contained in:
Olaoluwa Osuntokun 2019-09-25 19:15:48 -07:00 committed by GitHub
commit e84fe8f947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -814,13 +814,6 @@ func loadConfig() (*config, error) {
return nil, err
}
if cfg.Bitcoin.Node == "neutrino" && cfg.Bitcoin.MainNet {
str := "%s: neutrino isn't yet supported for " +
"bitcoin's mainnet"
err := fmt.Errorf(str, funcName)
return nil, err
}
if cfg.Bitcoin.TimeLockDelta < minTimeLockDelta {
return nil, fmt.Errorf("timelockdelta must be at least %v",
minTimeLockDelta)