From 8c04c1e7ce96457dc45588e47f592b10664c3b7f Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Tue, 7 Nov 2023 13:52:50 +0100 Subject: [PATCH] contractcourt: log amount if incoming htlc times out --- 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 8423fd2cc..a15031a2e 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -1743,10 +1743,10 @@ func (c *ChannelArbitrator) checkCommitChainActions(height uint32, int64(height) log.Infof("ChannelArbitrator(%v): go to chain for "+ - "outgoing htlc %x: timeout=%v, "+ + "outgoing htlc %x: timeout=%v, amount=%v, "+ "blocks_until_expiry=%v, broadcast_delta=%v", c.cfg.ChanPoint, htlc.RHash[:], - htlc.RefundTimeout, remainingBlocks, + htlc.RefundTimeout, htlc.Amt, remainingBlocks, c.cfg.OutgoingBroadcastDelta, ) } @@ -1778,10 +1778,10 @@ func (c *ChannelArbitrator) checkCommitChainActions(height uint32, int64(height) log.Infof("ChannelArbitrator(%v): go to chain for "+ - "incoming htlc %x: timeout=%v, "+ + "incoming htlc %x: timeout=%v, amount=%v, "+ "blocks_until_expiry=%v, broadcast_delta=%v", c.cfg.ChanPoint, htlc.RHash[:], - htlc.RefundTimeout, remainingBlocks, + htlc.RefundTimeout, htlc.Amt, remainingBlocks, c.cfg.IncomingBroadcastDelta, ) }