Skip to content

Commit

Permalink
splicing: Remove dependency on experimental_dual_fund
Browse files Browse the repository at this point in the history
Splicing should work automatically on v1 or v2 channels so this requirement isn’t needed.

Changelog-None
[ Squashed fixup into a single commit --RR ]
  • Loading branch information
ddustin authored Aug 6, 2023
1 parent 620a61e commit fb179f2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ jobs:
COMPILER: gcc
TEST_NETWORK: regtest
DEVELOPER: 1
EXPERIMENTAL_DUAL_FUND: 1
EXPERIMENTAL_SPLICING: 1
steps:
- name: Checkout
Expand Down
2 changes: 0 additions & 2 deletions lightningd/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -1197,8 +1197,6 @@ static char *opt_set_splicing(struct lightningd *ld)
feature_set_or(ld->our_features,
take(feature_set_for_feature(NULL,
OPTIONAL_FEATURE(OPT_SPLICE))));
/* Splicing requires dual-fund to be enabled */
opt_set_dual_fund(ld);
return NULL;
}

Expand Down
2 changes: 0 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
# option_dual_fund
features += [29]
if EXPERIMENTAL_SPLICING:
features += [29] # option_dual_fund
features += [35] # option_quiesce
features += [63] # option_splice
return hex_bits(features + extra)
Expand All @@ -60,7 +59,6 @@ def expected_node_features(wumbo_channels=False, extra=[]):
# option_dual_fund
features += [29]
if EXPERIMENTAL_SPLICING:
features += [29] # option_dual_fund
features += [35] # option_quiesce
features += [63] # option_splice
return hex_bits(features + extra)
Expand Down

0 comments on commit fb179f2

Please sign in to comment.