mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
chainregistry: also disable fee estimation for regtest
This commit is contained in:
parent
94ba7f964d
commit
f4f476fe9f
1 changed files with 5 additions and 3 deletions
|
@ -270,9 +270,11 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB,
|
|||
|
||||
walletConfig.ChainSource = chainRPC
|
||||
|
||||
// If we're not in simnet mode, then we'll attempt to use a
|
||||
// proper fee estimator for testnet.
|
||||
if !cfg.Bitcoin.SimNet && !cfg.Litecoin.SimNet {
|
||||
// If we're not in simnet or regtest mode, then we'll attempt
|
||||
// to use a proper fee estimator for testnet.
|
||||
if !cfg.Bitcoin.SimNet && !cfg.Litecoin.SimNet &&
|
||||
!cfg.Bitcoin.RegTest && !cfg.Litecoin.RegTest {
|
||||
|
||||
ltndLog.Infof("Initializing btcd backed fee estimator")
|
||||
|
||||
// Finally, we'll re-initialize the fee estimator, as
|
||||
|
|
Loading…
Add table
Reference in a new issue