mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
df: anchor outputs are on if EXP_DF
So we should treat it the same as EXPERIMENTAL_FEATURES
This commit is contained in:
@@ -1469,7 +1469,8 @@ def test_plugin_feature_announce(node_factory):
|
||||
|
||||
extra = []
|
||||
if l1.config('experimental-dual-fund'):
|
||||
extra.append(223)
|
||||
extra.append(21) # option-anchor-outputs
|
||||
extra.append(29) # option-dual-fund
|
||||
|
||||
# Check the featurebits we've set in the `init` message from
|
||||
# feature-test.py.
|
||||
@@ -1706,10 +1707,9 @@ def test_feature_set(node_factory):
|
||||
l1 = node_factory.get_node(options={"plugin": plugin})
|
||||
|
||||
fs = l1.rpc.call('getfeatureset')
|
||||
extra = [233] if l1.config('experimental-dual-fund') else []
|
||||
|
||||
assert fs['init'] == expected_peer_features(extra=extra)
|
||||
assert fs['node'] == expected_node_features(extra=extra)
|
||||
assert fs['init'] == expected_peer_features()
|
||||
assert fs['node'] == expected_node_features()
|
||||
assert fs['channel'] == expected_channel_features()
|
||||
assert 'invoice' in fs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user