peer: add message summary for lnwire.ChannelReestablish
This commit is contained in:
1 file changed
+4
@@ -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 ""
|
||||
|
||||
Reference in new issue
Block a user