Skip to content

Commit

Permalink
sweep: fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Feb 13, 2025
1 parent 3ecd278 commit dfb4776
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sweep/fee_bumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]()
}

Expand Down

0 comments on commit dfb4776

Please sign in to comment.