contractcourt: log amount if incoming htlc times out
This commit is contained in:
1 file changed
+4
-4
@@ -1743,10 +1743,10 @@ func (c *ChannelArbitrator) checkCommitChainActions(height uint32,
|
|||||||
int64(height)
|
int64(height)
|
||||||
|
|
||||||
log.Infof("ChannelArbitrator(%v): go to chain for "+
|
log.Infof("ChannelArbitrator(%v): go to chain for "+
|
||||||
"outgoing htlc %x: timeout=%v, "+
|
"outgoing htlc %x: timeout=%v, amount=%v, "+
|
||||||
"blocks_until_expiry=%v, broadcast_delta=%v",
|
"blocks_until_expiry=%v, broadcast_delta=%v",
|
||||||
c.cfg.ChanPoint, htlc.RHash[:],
|
c.cfg.ChanPoint, htlc.RHash[:],
|
||||||
htlc.RefundTimeout, remainingBlocks,
|
htlc.RefundTimeout, htlc.Amt, remainingBlocks,
|
||||||
c.cfg.OutgoingBroadcastDelta,
|
c.cfg.OutgoingBroadcastDelta,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -1778,10 +1778,10 @@ func (c *ChannelArbitrator) checkCommitChainActions(height uint32,
|
|||||||
int64(height)
|
int64(height)
|
||||||
|
|
||||||
log.Infof("ChannelArbitrator(%v): go to chain for "+
|
log.Infof("ChannelArbitrator(%v): go to chain for "+
|
||||||
"incoming htlc %x: timeout=%v, "+
|
"incoming htlc %x: timeout=%v, amount=%v, "+
|
||||||
"blocks_until_expiry=%v, broadcast_delta=%v",
|
"blocks_until_expiry=%v, broadcast_delta=%v",
|
||||||
c.cfg.ChanPoint, htlc.RHash[:],
|
c.cfg.ChanPoint, htlc.RHash[:],
|
||||||
htlc.RefundTimeout, remainingBlocks,
|
htlc.RefundTimeout, htlc.Amt, remainingBlocks,
|
||||||
c.cfg.IncomingBroadcastDelta,
|
c.cfg.IncomingBroadcastDelta,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user