mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
dual-funding: implies anchor outputs.
| 28/29 | `option_dual_fund` | Use v2 of channel open, enables dual funding | IN9 | `option_anchor_outputs`, `option_static_remotekey` | [BOLT #2](02-peer-protocol.md) |
This commit is contained in:
parent
6dae0118f9
commit
2baa24801e
@ -800,6 +800,10 @@ static char *opt_set_wumbo(struct lightningd *ld)
|
||||
|
||||
static char *opt_set_dual_fund(struct lightningd *ld)
|
||||
{
|
||||
/* Dual funding implies anchor outputs */
|
||||
feature_set_or(ld->our_features,
|
||||
take(feature_set_for_feature(NULL,
|
||||
OPTIONAL_FEATURE(OPT_ANCHOR_OUTPUTS))));
|
||||
feature_set_or(ld->our_features,
|
||||
take(feature_set_for_feature(NULL,
|
||||
OPTIONAL_FEATURE(OPT_DUAL_FUND))));
|
||||
|
Loading…
Reference in New Issue
Block a user