mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-23 23:31:02 +02:00
routing: trace capacity in probability log
This commit is contained in:
parent
75a9dc9103
commit
26d1f427df
@ -649,9 +649,9 @@ func findPath(g *graphParams, r *RestrictParams, cfg *PathFindingConfig,
|
||||
|
||||
log.Trace(newLogClosure(func() string {
|
||||
return fmt.Sprintf("path finding probability: fromnode=%v,"+
|
||||
" tonode=%v, amt=%v, probability=%v",
|
||||
" tonode=%v, amt=%v, cap=%v, probability=%v",
|
||||
fromVertex, toNodeDist.node, amountToSend,
|
||||
edgeProbability)
|
||||
edge.capacity, edgeProbability)
|
||||
}))
|
||||
|
||||
// If the probability is zero, there is no point in trying.
|
||||
|
Loading…
x
Reference in New Issue
Block a user