multi: enhance loggings and fix logging format

Also adds TODO for a possible bug.
This commit is contained in:
yyforyongyu
2022-11-20 11:14:05 +08:00
parent d793a53bba
commit 6618ab493a
7 changed files with 48 additions and 11 deletions

View File

@@ -1898,7 +1898,7 @@ func messageSummary(msg lnwire.Message) string {
return fmt.Sprintf("type=%d", msg.Type)
}
return ""
return fmt.Sprintf("unknown msg type=%T", msg)
}
// logWireMessage logs the receipt or sending of particular wire message. This