peer: add message summary for Stfu
This commit is contained in:
1 file changed
+4
@@ -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