From 58ab3f5f83a19b41070c0287cbe71787a58f6d36 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 27 Nov 2017 15:32:06 -0800 Subject: [PATCH] peer: show conf depth in message summary for AcceptChannel --- peer.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/peer.go b/peer.go index 2587a2f6..0b6173d4 100644 --- a/peer.go +++ b/peer.go @@ -815,8 +815,9 @@ func messageSummary(msg lnwire.Message) string { msg.ChannelReserve, msg.ChannelFlags) case *lnwire.AcceptChannel: - return fmt.Sprintf("temp_chan_id=%x, reserve=%v, csv=%v", - msg.PendingChannelID[:], msg.ChannelReserve, msg.CsvDelay) + return fmt.Sprintf("temp_chan_id=%x, reserve=%v, csv=%v, num_confs=%v", + msg.PendingChannelID[:], msg.ChannelReserve, msg.CsvDelay, + msg.MinAcceptDepth) case *lnwire.FundingCreated: return fmt.Sprintf("temp_chan_id=%x, chan_point=%v",