Skip to content

Commit 9b51d66

Browse files
ddustinrustyrussell
authored andcommitted
splice: Enable the splice in default settings
Turn splicing on by default for channel feature sets! Changelog-Deprecated Splicing is now enabled by default!
1 parent 7209225 commit 9b51d66

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lightningd/lightningd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@ static struct feature_set *default_features(const tal_t *ctx)
907907
OPTIONAL_FEATURE(OPT_PROVIDE_STORAGE),
908908
/* Removed later for elements */
909909
OPTIONAL_FEATURE(OPT_ANCHORS_ZERO_FEE_HTLC_TX),
910+
OPTIONAL_FEATURE(OPT_SPLICE),
910911
};
911912

912913
for (size_t i = 0; i < ARRAY_SIZE(features); i++) {

tests/test_misc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,8 @@ def test_list_features_only(node_factory):
25012501
'option_provide_storage/odd',
25022502
'option_channel_type/even',
25032503
'option_scid_alias/odd',
2504-
'option_zeroconf/odd']
2504+
'option_zeroconf/odd',
2505+
'option_splice/odd']
25052506
expected += ['supports_open_accept_channel_type']
25062507

25072508
assert features == expected

0 commit comments

Comments
 (0)