From 3857b9e9a69a95035fba330db53d42c2d35c7216 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 6 Jun 2023 14:00:22 +0800 Subject: [PATCH] contractcourt: improve logging for failing dangling htlcs --- contractcourt/channel_arbitrator.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index 8130de0a8..eeb8850f7 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -1865,8 +1865,8 @@ func (c *ChannelArbitrator) checkRemoteDanglingActions( continue } - log.Infof("ChannelArbitrator(%v): immediately failing "+ - "htlc=%x from remote commitment", + log.Infof("ChannelArbitrator(%v): fail dangling htlc=%x from "+ + "local/remote commitments diff", c.cfg.ChanPoint, htlc.RHash[:]) actionMap[HtlcFailNowAction] = append( @@ -1949,8 +1949,8 @@ func (c *ChannelArbitrator) checkRemoteDiffActions(height uint32, actionMap[HtlcFailNowAction], htlc, ) - log.Infof("ChannelArbitrator(%v): immediately failing "+ - "htlc=%x from remote commitment", + log.Infof("ChannelArbitrator(%v): fail dangling htlc=%x from "+ + "remote commitments diff", c.cfg.ChanPoint, htlc.RHash[:]) }