paymod: Set the STOPPED_RETRYING status code if we stopped retrying

This commit is contained in:
Christian Decker
2020-07-06 22:39:04 +02:00
committed by Rusty Russell
parent 5776a33116
commit 02e44e9903
3 changed files with 5 additions and 5 deletions

View File

@@ -1401,7 +1401,7 @@ def test_htlc_send_timeout(node_factory, bitcoind, compat):
err = excinfo.value
# Complains it stopped after several attempts.
# FIXME: include in pylightning
PAY_STOPPED_RETRYING = 210 if compat('090') else 205
PAY_STOPPED_RETRYING = 210
assert err.error['code'] == PAY_STOPPED_RETRYING
status = only_one(l1.rpc.call('paystatus')['pay'])