routing: return error for getBandwidth and log it

This commit is contained in:
ziggie committed 2025-07-08 11:41:15 +02:00
1 parent 9a75400295
commit eb4c87cdcb
2 files changed
+18 -21

No files matched your search

+1 -2
View File
@@ -551,8 +551,7 @@ func getOutgoingBalance(node route.Vertex, outgoingChans map[uint64]struct{},
log.Warnf("ShortChannelID=%v: not found in the local "+
"channels map of the bandwidth manager, "+
"using channel capacity=%v as bandwidth for "+
"this channel", shortID, bandwidth,
)
"this channel", shortID, bandwidth)
}
if bandwidth > max {