From f4cc2e235a24798f176eeea0567b49116db589e2 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 5 Mar 2019 10:30:53 +0100 Subject: [PATCH] routing: add todo describing fee limit bug --- routing/pathfind.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing/pathfind.go b/routing/pathfind.go index 74630933..8d514c21 100644 --- a/routing/pathfind.go +++ b/routing/pathfind.go @@ -888,6 +888,10 @@ func findPaths(tx *bbolt.Tx, graph *channeldb.ChannelGraph, // the Vertexes (other than the spur path) within the // root path removed, we'll attempt to find another // shortest path from the spur node to the destination. + // + // TODO: Fee limit passed to spur path finding isn't + // correct, because it doesn't take into account the + // fees already paid on the root path. spurPath, err := findPath( &graphParams{ tx: tx,