mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
channeld: allow stfu based on peer features, not EXPERIMENTAL_FEATURES.
Changelog-EXPERIMENTAL: Config: `--experimental-quiesce` enables queiescence, for testing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -3943,10 +3943,9 @@ def test_upgrade_statickey_fail(node_factory, executor, bitcoind):
|
||||
assert 'option_static_remotekey' in only_one(l2.rpc.listpeerchannels()['channels'])['features']
|
||||
|
||||
|
||||
@unittest.skipIf(not EXPERIMENTAL_FEATURES, "quiescence is experimental")
|
||||
@pytest.mark.developer("quiescence triggering is dev only")
|
||||
def test_quiescence(node_factory, executor):
|
||||
l1, l2 = node_factory.line_graph(2)
|
||||
l1, l2 = node_factory.line_graph(2, opts={'experimental-quiesce': None})
|
||||
|
||||
# Works fine.
|
||||
l1.pay(l2, 1000)
|
||||
|
||||
Reference in New Issue
Block a user