mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-06 22:52:55 +02:00
lnwallet: fix logging error when fee is too low in BtcdFeeEstimator
This commit is contained in:
@@ -229,7 +229,8 @@ func (b *BtcdFeeEstimator) fetchEstimate(confTarget uint32) (SatPerKWeight, erro
|
|||||||
// Finally, we'll enforce our fee floor.
|
// Finally, we'll enforce our fee floor.
|
||||||
if satPerKw < b.minFeePerKW {
|
if satPerKw < b.minFeePerKW {
|
||||||
walletLog.Debugf("Estimated fee rate of %v sat/kw is too low, "+
|
walletLog.Debugf("Estimated fee rate of %v sat/kw is too low, "+
|
||||||
"using fee floor of %v sat/kw instead", b.minFeePerKW)
|
"using fee floor of %v sat/kw instead", satPerKw,
|
||||||
|
b.minFeePerKW)
|
||||||
satPerKw = b.minFeePerKW
|
satPerKw = b.minFeePerKW
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user