Skip to content

Commit 79f3275

Browse files
rustyrussellcdecker
authored andcommitted
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 <[email protected]>
1 parent 424800f commit 79f3275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightningd/options.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,11 +858,13 @@ static void register_opts(struct lightningd *ld)
858858
opt_set_wumbo, ld,
859859
"Allow channels larger than 0.16777215 BTC");
860860

861+
#if EXPERIMENTAL_FEATURES
861862
opt_register_early_noarg("--experimental-dual-fund",
862863
opt_set_dual_fund, ld,
863864
"experimental: Advertise dual-funding"
864865
" and allow peers to establish channels"
865866
" via v2 channel open protocol");
867+
#endif
866868

867869
/* This affects our features, so set early. */
868870
opt_register_early_noarg("--experimental-onion-messages",

0 commit comments

Comments
 (0)