Merge pull request #7752 from yyforyongyu/improve-logging

contractcourt: improve logging for failing dangling htlcs
This commit is contained in:
Oliver Gugger authored and GitHub committed 2023-06-08 18:31:44 +02:00
commit 0005adaac8
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[:])
}