mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 23:01:53 +02:00
routing: return error for getBandwidth and log it
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user