mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
peer: add message summary for Stfu
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user