Browse Source

df-tests: test_node_reannounce correct features

ppa
niftynei 4 years ago
committed by Christian Decker
parent
commit
09834bbc8d
  1. 2
      tests/test_gossip.py

2
tests/test_gossip.py

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

Loading…
Cancel
Save