From 1a46b376096c3b964f1ddfbf8866b6cc9c07430a Mon Sep 17 00:00:00 2001 From: Tony Aldon Date: Tue, 10 Oct 2023 09:26:37 +0200 Subject: [PATCH] contrib: add `developer` option to config file in startup_regtest.sh. Without `developer` option, after compiling CLN and sourcing `contrib/startup_regtest.sh`, if we try to start 2 nodes on regtest running the command `start_ln` we get the following error: ``` lightningd: Config file /tmp/l1-regtest/config line 6: dev-fast-gossip: requires --developer ... lightningd: Config file /tmp/l2-regtest/config line 6: dev-fast-gossip: requires --developer ``` Changelog-None --- contrib/startup_regtest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/startup_regtest.sh b/contrib/startup_regtest.sh index 0cc348668242..66e37877dbed 100755 --- a/contrib/startup_regtest.sh +++ b/contrib/startup_regtest.sh @@ -97,6 +97,7 @@ start_nodes() { # If we've configured to use developer, add dev options if $LIGHTNINGD --help | grep -q dev-fast-gossip; then cat <<- EOF >> "/tmp/l$i-$network/config" + developer dev-fast-gossip dev-bitcoind-poll=5 experimental-dual-fund