mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
paymod: Set the STOPPED_RETRYING status code if we stopped retrying
This commit is contained in:
committed by
Rusty Russell
parent
5776a33116
commit
02e44e9903
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user