mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
lightningd: don't expose (undocumented) experimental-dual-fund.
It doesn't make sense currently without EXPERIMENTAL_FEATURES, and check-manpages complains about it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
424800fba6
commit
79f32751d2
@ -858,11 +858,13 @@ static void register_opts(struct lightningd *ld)
|
||||
opt_set_wumbo, ld,
|
||||
"Allow channels larger than 0.16777215 BTC");
|
||||
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
opt_register_early_noarg("--experimental-dual-fund",
|
||||
opt_set_dual_fund, ld,
|
||||
"experimental: Advertise dual-funding"
|
||||
" and allow peers to establish channels"
|
||||
" via v2 channel open protocol");
|
||||
#endif
|
||||
|
||||
/* This affects our features, so set early. */
|
||||
opt_register_early_noarg("--experimental-onion-messages",
|
||||
|
Loading…
Reference in New Issue
Block a user