From 79f32751d2da2932674704e471d02a52a434ebf1 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 14 Jan 2021 14:06:59 +1030 Subject: [PATCH] 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 --- lightningd/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightningd/options.c b/lightningd/options.c index 70dbda91d..595abd8d7 100644 --- a/lightningd/options.c +++ b/lightningd/options.c @@ -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",