cnct: log more info when checking chain actions

This commit is contained in:
Joost Jager 2019-09-09 13:26:59 +02:00
parent 50abb41e94
commit ede7e5e7ee
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -1152,8 +1152,10 @@ func (c *ChannelArbitrator) checkCommitChainActions(height uint32,
// * race condition if adding and we broadcast, etc
// * or would make each instance sync?
log.Debugf("ChannelArbitrator(%v): checking chain actions at "+
"height=%v", c.cfg.ChanPoint, height)
log.Debugf("ChannelArbitrator(%v): checking commit chain actions at "+
"height=%v, in_htlc_count=%v, out_htlc_count=%v",
c.cfg.ChanPoint, height,
len(htlcs.incomingHTLCs), len(htlcs.outgoingHTLCs))
actionMap := make(ChainActionMap)