contractcourt: improve logging for failing dangling htlcs

This commit is contained in:
yyforyongyu committed 2023-06-07 17:34:06 +08:00
1 parent 6833df5236
commit 3857b9e9a6
1 file changed
+4 -4
+4 -4
View File
@@ -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[:])
}