From e16efd6f0842ba1999b3352732578112bea427b1 Mon Sep 17 00:00:00 2001 From: Mohamed Awnallah Date: Wed, 20 Dec 2023 18:29:25 +0200 Subject: [PATCH] lnwallet: clarify-available-commitment-balance-message [skip ci] --- lnwallet/channel.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index a34384876..aa3f38650 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -8366,11 +8366,11 @@ func (lc *LightningChannel) availableCommitmentBalance(view *htlcView, if theirBalance < commitFeeWithHtlc && ourBalance >= nonDustHtlcAmt { // see https://github.com/lightning/bolts/issues/728 ourReportedBalance := nonDustHtlcAmt - 1 - lc.log.Infof("Reducing local balance (from %v to %v): "+ - "remote side does not have enough funds (%v < %v) to "+ - "pay for non-dust HTLC in case of unilateral close.", - ourBalance, ourReportedBalance, theirBalance, - commitFeeWithHtlc) + lc.log.Infof("Reducing local (reported) balance "+ + "(from %v to %v): remote side does not have enough "+ + "funds (%v < %v) to pay for non-dust HTLC in case of "+ + "unilateral close.", ourBalance, ourReportedBalance, + theirBalance, commitFeeWithHtlc) ourBalance = ourReportedBalance }