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:
Rusty Russell 2021-01-14 14:06:59 +10:30 committed by Christian Decker
parent 424800fba6
commit 79f32751d2

View File

@ -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",