lightningd: delay reprocessing of incoming htlcs at startup until plugins ready.

Fixes: #2923
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-08-10 14:54:57 +09:30
committed by Christian Decker
parent f0ab4d72da
commit 049529542a
9 changed files with 48 additions and 27 deletions

View File

@@ -466,7 +466,6 @@ def test_htlc_accepted_hook_resolve(node_factory):
assert len(inv) == 1 and inv[0]['status'] == 'unpaid'
@pytest.mark.xfail(strict=True)
def test_htlc_accepted_hook_direct_restart(node_factory, executor):
"""l2 restarts while it is pondering what to do with an HTLC.
"""
@@ -492,7 +491,6 @@ def test_htlc_accepted_hook_direct_restart(node_factory, executor):
@unittest.skipIf(not DEVELOPER, "without DEVELOPER=1, gossip v slow")
@pytest.mark.xfail(strict=True)
def test_htlc_accepted_hook_forward_restart(node_factory, executor):
"""l2 restarts while it is pondering what to do with an HTLC.
"""