1
0

lnrouter: fix off-by-one in NUM_MAX_EDGES_IN_PAYMENT_PATH

This commit is contained in:
SomberNight
2019-09-06 18:36:21 +02:00
parent 25c372a3e0
commit d4da4aa56c
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ class LNPathFinder(Logger):
if my_channels is None: my_channels = []
my_channels = {chan.short_channel_id: chan for chan in my_channels}
# FIXME paths cannot be longer than 21 edges (onion packet)...
# FIXME paths cannot be longer than 20 edges (onion packet)...
# run Dijkstra
# The search is run in the REVERSE direction, from nodeB to nodeA,