mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
lightningd: allow multiple cancels on a single fundchannel command.
Instead of taking over the ->cmd pointer, append ourselves to a list of cancels. This fixes the test_funding_cancel_race. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
4b1a300ee3
commit
280bd60988
@@ -853,7 +853,6 @@ def test_funding_external_wallet_corners(node_factory, bitcoind):
|
||||
l1.rpc.fundchannel_start(l2.info['id'], amount)
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_funding_cancel_race(node_factory, bitcoind, executor):
|
||||
l1 = node_factory.get_node()
|
||||
nodes = node_factory.get_nodes(100)
|
||||
|
||||
Reference in New Issue
Block a user