mirror of https://github.com/BTCPrivate/lnd.git
chainregistry: also disable fee estimation for regtest
This commit is contained in:
parent
94ba7f964d
commit
f4f476fe9f
|
@ -270,9 +270,11 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB,
|
||||||
|
|
||||||
walletConfig.ChainSource = chainRPC
|
walletConfig.ChainSource = chainRPC
|
||||||
|
|
||||||
// If we're not in simnet mode, then we'll attempt to use a
|
// If we're not in simnet or regtest mode, then we'll attempt
|
||||||
// proper fee estimator for testnet.
|
// to use a proper fee estimator for testnet.
|
||||||
if !cfg.Bitcoin.SimNet && !cfg.Litecoin.SimNet {
|
if !cfg.Bitcoin.SimNet && !cfg.Litecoin.SimNet &&
|
||||||
|
!cfg.Bitcoin.RegTest && !cfg.Litecoin.RegTest {
|
||||||
|
|
||||||
ltndLog.Infof("Initializing btcd backed fee estimator")
|
ltndLog.Infof("Initializing btcd backed fee estimator")
|
||||||
|
|
||||||
// Finally, we'll re-initialize the fee estimator, as
|
// Finally, we'll re-initialize the fee estimator, as
|
||||||
|
|
Loading…
Reference in New Issue