From 2d0775626369f211517e46fe3c72317cc92aba84 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 17 Mar 2020 13:22:32 +0100 Subject: [PATCH] routing: log amount for probability --- routing/pathfind.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routing/pathfind.go b/routing/pathfind.go index d9125cc4c..549d34166 100644 --- a/routing/pathfind.go +++ b/routing/pathfind.go @@ -584,7 +584,8 @@ func findPathInternal( log.Trace(newLogClosure(func() string { return fmt.Sprintf("path finding probability: fromnode=%v,"+ - " tonode=%v, probability=%v", fromVertex, toNodeDist.node, + " tonode=%v, amt=%v, probability=%v", + fromVertex, toNodeDist.node, amountToSend, edgeProbability) }))