peer: show conf depth in message summary for AcceptChannel

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-27 16:50:10 -08:00
1 parent e572c549be
commit 58ab3f5f83
1 file changed
+3 -2
+3 -2
View File
@@ -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",