dev-allowdustreserve: make this a DEVELOPER option.

Otherwise, we should rename it?

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-06-01 16:12:43 +09:30
parent ea665d1851
commit ec8bba6b8a
2 changed files with 7 additions and 5 deletions

View File

@@ -1812,6 +1812,7 @@ def test_zeroconf_multichan_forward(node_factory):
.format(normal_scid, zeroconf_scid))
@pytest.mark.developer("dev-allowdustreserve")
def test_zeroreserve(node_factory, bitcoind):
"""Ensure we can set the reserves.
@@ -1891,6 +1892,7 @@ def test_zeroreserve(node_factory, bitcoind):
assert len(decoded['vout']) == 1 if TEST_NETWORK == 'regtest' else 2
@pytest.mark.developer("dev-allowdustreserve")
def test_zeroreserve_mixed(node_factory, bitcoind):
"""l1 runs with zeroreserve, l2 and l3 without, should still work
@@ -1921,6 +1923,7 @@ def test_zeroreserve_mixed(node_factory, bitcoind):
l3.rpc.fundchannel(l1.info['id'], 10**6)
@pytest.mark.developer("dev-allowdustreserve")
def test_zeroreserve_alldust(node_factory):
"""If we allow dust reserves we need larger fundings