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
This commit is contained in:
parent
176a58f9e0
commit
1a46b37609
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue