df-tests: test_node_reannounce correct features

This commit is contained in:
niftynei
2020-12-11 16:31:17 -06:00
committed by Christian Decker
parent c055198869
commit 09834bbc8d

View File

@@ -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