multi: improve logging

This commit is contained in:
yyforyongyu committed 2025-03-21 03:24:26 +08:00
1 parent 66c94cf51f
commit be4c4cc8ff
5 files changed
+17 -2

No files matched your search

+3
View File
@@ -2052,6 +2052,9 @@ func (l *channelLink) cleanupSpuriousResponse(pkt *htlcPacket) {
func (l *channelLink) handleUpstreamMsg(ctx context.Context,
msg lnwire.Message) {
l.log.Tracef("receive upstream msg %v, handling now... ", msg.MsgType())
defer l.log.Tracef("handled upstream msg %v", msg.MsgType())
// First check if the message is an update and we are capable of
// receiving updates right now.
if msg.MsgType().IsChannelUpdate() && !l.quiescer.CanRecvUpdates() {