Skip to content

Commit

Permalink
splice: Move splice to experimental feature bit
Browse files Browse the repository at this point in the history
Changelog-None
  • Loading branch information
ddustin committed Aug 9, 2023
1 parent 5f8b774 commit 96a2e9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
#define OPT_SHUTDOWN_ANYSEGWIT 26
#define OPT_CHANNEL_TYPE 44
#define OPT_PAYMENT_METADATA 48
#define OPT_SPLICE 62
#define OPT_SPLICE 162

/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #9:
* | 28/29 | `option_dual_fund` | ... IN9 ...
Expand Down
2 changes: 1 addition & 1 deletion contrib/pyln-client/pyln/client/gossmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class LnFeatureBits(object):
OPTION_PROPOSED_TRAMPOLINE_ROUTING = 56 # IN9 #836
OPTION_PROPOSED_UPFRONT_FEE = 56 # IN9 #1052
OPTION_PROPOSED_CLOSING_REJECTED = 60 # IN #1016
OPTION_PROPOSED_SPLICE = 62 # IN #863
OPTION_PROPOSED_SPLICE = 162 # IN #863


def _parse_features(featurebytes):
Expand Down
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
features += [29]
if EXPERIMENTAL_SPLICING:
features += [35] # option_quiesce
features += [63] # option_splice
features += [163] # option_splice
return hex_bits(features + extra)


Expand All @@ -60,7 +60,7 @@ def expected_node_features(wumbo_channels=False, extra=[]):
features += [29]
if EXPERIMENTAL_SPLICING:
features += [35] # option_quiesce
features += [63] # option_splice
features += [163] # option_splice
return hex_bits(features + extra)


Expand Down

0 comments on commit 96a2e9a

Please sign in to comment.