config: remove deprecated neutrino.feeurl config option

This commit is contained in:
Tom Kirkpatrick
2024-04-23 09:40:05 +02:00
committed by yyforyongyu
parent 399ea864da
commit fa616ee059
3 changed files with 3 additions and 16 deletions

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,
)