From 8b7bde7200a42cbed58bcb604ff787498c38476a Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Mon, 16 Mar 2020 12:28:39 +0100 Subject: [PATCH] cnct: log txid for force close --- contractcourt/channel_arbitrator.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index 46aab0d0..f4e0d96a 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -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) }))