mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
df-tests: test_node_reannounce correct features
This commit is contained in:
committed by
Christian Decker
parent
c055198869
commit
09834bbc8d
@@ -1033,6 +1033,8 @@ def test_node_reannounce(node_factory, bitcoind):
|
||||
assert only_one(l2.rpc.listnodes(l1.info['id'])['nodes'])['alias'].startswith('JUNIORBEAM')
|
||||
|
||||
lfeatures = expected_node_features()
|
||||
if l1.config('experimental-dual-fund'):
|
||||
lfeatures = expected_node_features(extra=[223])
|
||||
|
||||
# Make sure it gets features correct.
|
||||
assert only_one(l2.rpc.listnodes(l1.info['id'])['nodes'])['features'] == lfeatures
|
||||
|
||||
Reference in New Issue
Block a user