From 7ab0e15937025defff3e1e1005f157bc4ce6e4ac Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 13 Feb 2025 12:36:57 +0800 Subject: [PATCH] sweep: fix error logging --- sweep/fee_bumper.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sweep/fee_bumper.go b/sweep/fee_bumper.go index 934d2b653..6a796e22d 100644 --- a/sweep/fee_bumper.go +++ b/sweep/fee_bumper.go @@ -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]() }