sweep: fix error logging

This commit is contained in:
yyforyongyu 2025-02-13 12:36:57 +08:00
parent a099261726
commit 5dd45660cd
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

View file

@ -1356,7 +1356,9 @@ func (t *TxPublisher) createAndPublishTx(
if errors.Is(result.Err, chain.ErrInsufficientFee) ||
errors.Is(result.Err, lnwallet.ErrMempoolFee) {
log.Debugf("Failed to bump tx %v: %v", oldTx.TxHash(), err)
log.Debugf("Failed to bump tx %v: %v", oldTx.TxHash(),
result.Err)
return fn.None[BumpResult]()
}