cnct: log txid for force close

This commit is contained in:
Joost Jager 2020-03-16 12:28:39 +01:00
parent 863966bac9
commit 8b7bde7200
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

View File

@ -842,8 +842,9 @@ func (c *ChannelArbitrator) stateStep(
// With the close transaction in hand, broadcast the
// transaction to the network, thereby entering the post
// channel resolution state.
log.Infof("Broadcasting force close transaction, "+
"ChannelPoint(%v): %v", c.cfg.ChanPoint,
log.Infof("Broadcasting force close transaction %v, "+
"ChannelPoint(%v): %v", closeTx.TxHash(),
c.cfg.ChanPoint,
newLogClosure(func() string {
return spew.Sdump(closeTx)
}))