lnwallet: fix logging error when fee is too low in BtcdFeeEstimator
This commit is contained in:
parent
28cf413055
commit
2dcbdf2622
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user