Skip to content

Commit 0281111

Browse files
committed
common: restore OPT_SPLICE definition for the day it's ratified.
Signed-off-by: Rusty Russell <[email protected]>
1 parent c50e93d commit 0281111

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

common/features.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ static const struct feature_style feature_styles[] = {
142142
{ OPT_PROVIDE_PEER_BACKUP_STORAGE,
143143
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
144144
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT } },
145+
{ OPT_SPLICE,
146+
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
147+
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
148+
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
145149
{ OPT_EXPERIMENTAL_SPLICE,
146150
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
147151
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,

common/features.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
140140
/* BOLT-splice #9:
141141
* | 62/63 | `option_splice` | ... IN ...
142142
*/
143+
#define OPT_SPLICE 62
143144
#define OPT_EXPERIMENTAL_SPLICE 162
144145

145146
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #9:

0 commit comments

Comments
 (0)