mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 23:15:36 +02:00
routing: trace capacity in probability log
This commit is contained in:
@@ -649,9 +649,9 @@ func findPath(g *graphParams, r *RestrictParams, cfg *PathFindingConfig,
|
|||||||
|
|
||||||
log.Trace(newLogClosure(func() string {
|
log.Trace(newLogClosure(func() string {
|
||||||
return fmt.Sprintf("path finding probability: fromnode=%v,"+
|
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,
|
fromVertex, toNodeDist.node, amountToSend,
|
||||||
edgeProbability)
|
edge.capacity, edgeProbability)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// If the probability is zero, there is no point in trying.
|
// If the probability is zero, there is no point in trying.
|
||||||
|
Reference in New Issue
Block a user