1
0

lnworker.pay: run path finding in sep. thread (don't block evt loop)

This commit is contained in:
ThomasV
2020-03-10 17:56:11 +01:00
parent df5acd1ea5
commit b6cb983733
2 changed files with 3 additions and 7 deletions

View File

@@ -189,9 +189,6 @@ class LNPathFinder(Logger):
if my_channels is None: my_channels = {}
# note: we don't lock self.channel_db, so while the path finding runs,
# the underlying graph could potentially change... (not good but maybe ~OK?)
# (but at the time of writing, we are called on the asyncio event loop,
# and the graph is also only updated from the event loop, so it will
# not change)
# FIXME paths cannot be longer than 20 edges (onion packet)...