mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
peer: add message summary for lnwire.ChannelReestablish
This commit is contained in:
parent
1d6e5ad1ef
commit
150ab00842
1 changed files with 4 additions and 0 deletions
4
peer.go
4
peer.go
|
@ -892,6 +892,10 @@ func messageSummary(msg lnwire.Message) string {
|
|||
case *lnwire.UpdateFee:
|
||||
return fmt.Sprintf("chan_id=%v, fee_update_sat=%v",
|
||||
msg.ChanID, int64(msg.FeePerKw))
|
||||
|
||||
case *lnwire.ChannelReestablish:
|
||||
return fmt.Sprintf("next_local_height=%v, remote_tail_height=%v",
|
||||
msg.NextLocalCommitHeight, msg.RemoteCommitTailHeight)
|
||||
}
|
||||
|
||||
return ""
|
||||
|
|
Loading…
Add table
Reference in a new issue