config: remove deprecated neutrino.feeurl config option

This commit is contained in:
Tom Kirkpatrick authored and yyforyongyu committed 2024-05-04 14:41:40 +08:00
1 parent 399ea864da
commit fa616ee059
3 files changed
+3 -16

No files matched your search

-12
View File
@@ -261,18 +261,6 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err
}
// Map the deprecated neutrino feeurl flag to the general fee
// url.
if cfg.NeutrinoMode.FeeURL != "" {
if cfg.FeeURL != "" {
return nil, nil, errors.New("feeurl and " +
"neutrino.feeurl are mutually " +
"exclusive")
}
cfg.FeeURL = cfg.NeutrinoMode.FeeURL
}
cc.ChainSource = chain.NewNeutrinoClient(
cfg.ActiveNetParams.Params, cfg.NeutrinoCS,
)