multi: enhance logging around channel reestablishment

This commit is contained in:
yyforyongyu
2023-11-22 23:12:49 +08:00
parent 9ce543fb05
commit 85f4b13632
3 changed files with 41 additions and 3 deletions

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: