contractcourt: improve logging for failing dangling htlcs
This commit is contained in:
1 file changed
+4
-4
@@ -1865,8 +1865,8 @@ func (c *ChannelArbitrator) checkRemoteDanglingActions(
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infof("ChannelArbitrator(%v): immediately failing "+
|
log.Infof("ChannelArbitrator(%v): fail dangling htlc=%x from "+
|
||||||
"htlc=%x from remote commitment",
|
"local/remote commitments diff",
|
||||||
c.cfg.ChanPoint, htlc.RHash[:])
|
c.cfg.ChanPoint, htlc.RHash[:])
|
||||||
|
|
||||||
actionMap[HtlcFailNowAction] = append(
|
actionMap[HtlcFailNowAction] = append(
|
||||||
@@ -1949,8 +1949,8 @@ func (c *ChannelArbitrator) checkRemoteDiffActions(height uint32,
|
|||||||
actionMap[HtlcFailNowAction], htlc,
|
actionMap[HtlcFailNowAction], htlc,
|
||||||
)
|
)
|
||||||
|
|
||||||
log.Infof("ChannelArbitrator(%v): immediately failing "+
|
log.Infof("ChannelArbitrator(%v): fail dangling htlc=%x from "+
|
||||||
"htlc=%x from remote commitment",
|
"remote commitments diff",
|
||||||
c.cfg.ChanPoint, htlc.RHash[:])
|
c.cfg.ChanPoint, htlc.RHash[:])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user