mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +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),
|
time.Unix(int64(msg.FirstTimestamp), 0),
|
||||||
msg.TimestampRange)
|
msg.TimestampRange)
|
||||||
|
|
||||||
|
case *lnwire.Stfu:
|
||||||
|
return fmt.Sprintf("chan_id=%v, initiator=%v", msg.ChanID,
|
||||||
|
msg.Initiator)
|
||||||
|
|
||||||
case *lnwire.Custom:
|
case *lnwire.Custom:
|
||||||
return fmt.Sprintf("type=%d", msg.Type)
|
return fmt.Sprintf("type=%d", msg.Type)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user