Skip to content

Commit 2ddc3db

Browse files
committed
peer: add message summary for Stfu
1 parent b172227 commit 2ddc3db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

peer/brontide.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,6 +2144,10 @@ func messageSummary(msg lnwire.Message) string {
21442144
time.Unix(int64(msg.FirstTimestamp), 0),
21452145
msg.TimestampRange)
21462146

2147+
case *lnwire.Stfu:
2148+
return fmt.Sprintf("chan_id=%v, initiator=%v", msg.ChanID,
2149+
msg.Initiator)
2150+
21472151
case *lnwire.Custom:
21482152
return fmt.Sprintf("type=%d", msg.Type)
21492153
}

0 commit comments

Comments
 (0)