lightningd: set the channel_type feature.

AFAICT we should have been doing this since we started sending and
receiving it, but didn't.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: Protocol: we now advertize the `option_channel_type` feature (which we actually supported since v0.10.2)
This commit is contained in:
Rusty Russell
2022-07-23 16:25:48 +09:30
committed by neil saitug
parent d5d4e7b019
commit 80a6d9b58e
3 changed files with 5 additions and 2 deletions

View File

@@ -1828,11 +1828,13 @@ def test_list_features_only(node_factory):
expected += ['option_shutdown_anysegwit/odd']
expected += ['option_quiesce/odd']
expected += ['option_onion_messages/odd']
expected += ['option_channel_type/odd']
expected += ['option_scid_alias/odd']
expected += ['option_zeroconf/odd']
expected += ['supports_open_accept_channel_type']
else:
expected += ['option_shutdown_anysegwit/odd']
expected += ['option_channel_type/odd']
expected += ['option_scid_alias/odd']
expected += ['option_zeroconf/odd']
assert features == expected