routing: add todo describing fee limit bug

This commit is contained in:
Joost Jager 2019-03-05 10:30:53 +01:00
parent cee18892b5
commit f4cc2e235a
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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,