peer: show conf depth in message summary for AcceptChannel
This commit is contained in:
parent
e572c549be
commit
58ab3f5f83
5
peer.go
5
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",
|
||||
|
Loading…
Reference in New Issue
Block a user