askrene: fixed a timeout corner case

Changelog-Fixed: askrene: fixed a class of corner cases that cause askrene main loop to timeout instead of quickly failing, thus wasting runtime.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
This commit is contained in:
Lagrang3
2026-01-27 12:36:18 +01:00
committed by Rusty Russell
parent 597da1fef9
commit f1bf66c91f
2 changed files with 75 additions and 4 deletions

View File

@@ -2433,7 +2433,6 @@ def test_includefees(node_factory):
)
@unittest.skip
def test_impossible_payment(node_factory):
"""A payment that is impossible due to HTLC constraints and fees. The
constraint might cause a timeout in in askrene's main loop due to the refine