mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
df-tests: test_feature_set
This commit is contained in:
parent
db65771f38
commit
923e1f5c80
@ -1616,8 +1616,10 @@ def test_feature_set(node_factory):
|
||||
l1 = node_factory.get_node(options={"plugin": plugin})
|
||||
|
||||
fs = l1.rpc.call('getfeatureset')
|
||||
assert fs['init'] == expected_peer_features()
|
||||
assert fs['node'] == expected_node_features()
|
||||
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['channel'] == expected_channel_features()
|
||||
assert 'invoice' in fs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user