multi: add debug logs for edge policy flow

This commit adds more logs around the ChannelUpdate->edge policy process
flow.
This commit is contained in:
yyforyongyu committed 2025-01-17 00:17:23 +08:00
1 parent e0a920af44
commit 001e5599b6
8 files changed
+43 -10

No files matched your search

+3
View File
@@ -1400,6 +1400,9 @@ func (b *Builder) processUpdate(msg interface{},
msg.ChannelID)
}
log.Debugf("Found edge1Timestamp=%v, edge2Timestamp=%v",
edge1Timestamp, edge2Timestamp)
// As edges are directional edge node has a unique policy for
// the direction of the edge they control. Therefore, we first
// check if we already have the most up-to-date information for