lastTried channel should be its index

This commit is contained in:
GUVWAF committed 2022-11-03 09:28:15 +01:00
1 parent 7aff5e9ee5
commit f1df14ca92
1 file changed
+1 -1
+1 -1
View File
@@ -551,7 +551,7 @@ class Node:
return # Don't try to parse this routing message
lastTried = 0
if len(self.partialChannels) > 0:
lastTried = self.partialChannels[-1]
lastTried = self.partialChannels[-1].index
logging.debug(f"Retrying previous channel request.")
self._requestChannel(lastTried)
return