contractcourt: improve logging for failing dangling htlcs

This commit is contained in:
yyforyongyu 2023-06-06 14:00:22 +08:00
parent 6833df5236
commit 3857b9e9a6
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

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[:])
}