peer: show conf depth in message summary for AcceptChannel

This commit is contained in:
Olaoluwa Osuntokun 2017-11-27 15:32:06 -08:00
parent e572c549be
commit 58ab3f5f83
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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",