config: remove deprecated neutrino.feeurl config option
This commit is contained in:
1 parent
399ea864da
commit
fa616ee059
3 files changed
+3
-16
No files matched your search
@@ -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,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user