peer: add message summary for Stfu

This commit is contained in:
Keagan McClelland
2024-03-12 11:34:57 -07:00
parent b172227cb3
commit 2ddc3db5f8

View File

@@ -2144,6 +2144,10 @@ func messageSummary(msg lnwire.Message) string {
time.Unix(int64(msg.FirstTimestamp), 0),
msg.TimestampRange)
case *lnwire.Stfu:
return fmt.Sprintf("chan_id=%v, initiator=%v", msg.ChanID,
msg.Initiator)
case *lnwire.Custom:
return fmt.Sprintf("type=%d", msg.Type)
}