multi: enhance logging around channel reestablishment

This commit is contained in:
yyforyongyu committed 2023-11-28 14:06:53 +08:00
1 parent 9ce543fb05
commit 85f4b13632
3 files changed
+41 -3

No files matched your search

+2 -1
View File
@@ -2009,7 +2009,8 @@ func messageSummary(msg lnwire.Message) string {
msg.ChanID, int64(msg.FeePerKw))
case *lnwire.ChannelReestablish:
return fmt.Sprintf("next_local_height=%v, remote_tail_height=%v",
return fmt.Sprintf("chan_id=%v, next_local_height=%v, "+
"remote_tail_height=%v", msg.ChanID,
msg.NextLocalCommitHeight, msg.RemoteCommitTailHeight)
case *lnwire.ReplyShortChanIDsEnd: