Skip to content

Commit 068fc14

Browse files
rustyrussellcdecker
authored andcommitted
lightningd: option_shutdown_anysegwit is no longer experimental.
lightning/bolts#672 was merged. Signed-off-by: Rusty Russell <[email protected]> Changelog-Added: Protocol: `option_shutdown_anysegwit` allows future segwit versions on shutdown transactions.
1 parent fed20c2 commit 068fc14

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

common/features.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,10 @@ static const struct feature_style feature_styles[] = {
8686
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
8787
[BOLT11_FEATURE] = FEATURE_REPRESENT,
8888
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
89-
#if EXPERIMENTAL_FEATURES
9089
{ OPT_SHUTDOWN_ANYSEGWIT,
9190
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
9291
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
9392
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT } },
94-
#endif
9593
};
9694

9795
struct dependency {

lightningd/lightningd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,10 +802,10 @@ static struct feature_set *default_features(const tal_t *ctx)
802802
OPTIONAL_FEATURE(OPT_BASIC_MPP),
803803
OPTIONAL_FEATURE(OPT_GOSSIP_QUERIES_EX),
804804
OPTIONAL_FEATURE(OPT_STATIC_REMOTEKEY),
805+
OPTIONAL_FEATURE(OPT_SHUTDOWN_ANYSEGWIT),
805806
#if EXPERIMENTAL_FEATURES
806807
OPTIONAL_FEATURE(OPT_ANCHOR_OUTPUTS),
807808
OPTIONAL_FEATURE(OPT_ONION_MESSAGES),
808-
OPTIONAL_FEATURE(OPT_SHUTDOWN_ANYSEGWIT),
809809
#endif
810810
};
811811

0 commit comments

Comments
 (0)