mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-20 13:34:32 +01:00
peer: show conf depth in message summary for AcceptChannel
This commit is contained in:
parent
e572c549be
commit
58ab3f5f83
1 changed files with 3 additions and 2 deletions
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…
Add table
Reference in a new issue