routing: backward searching
This commit is contained in:
1 parent
e52d829168
commit
3e7473f4f0
7 files changed
+295
-152
No files matched your search
+1
-1
@@ -1384,7 +1384,7 @@ func (r *ChannelRouter) FindRoutes(target *btcec.PublicKey,
|
||||
// we'll execute our KSP algorithm to find the k-shortest paths from
|
||||
// our source to the destination.
|
||||
shortestPaths, err := findPaths(
|
||||
tx, r.cfg.Graph, r.selfNode, target, amt, numPaths,
|
||||
tx, r.cfg.Graph, r.selfNode, target, amt, feeLimit, numPaths,
|
||||
bandwidthHints,
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user