lnwallet: fix logging error when fee is too low in BtcdFeeEstimator

This commit is contained in:
Olaoluwa Osuntokun 2018-09-20 19:20:01 -07:00
parent 28cf413055
commit 2dcbdf2622
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

View File

@ -229,7 +229,8 @@ func (b *BtcdFeeEstimator) fetchEstimate(confTarget uint32) (SatPerKWeight, erro
// Finally, we'll enforce our fee floor.
if satPerKw < b.minFeePerKW {
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
}