peer: add message summary for lnwire.ChannelReestablish

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-10 19:51:11 -08:00
1 parent 1d6e5ad1ef
commit 150ab00842
1 file changed
+4
+4
View File
@@ -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 ""