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:
Tony Aldon 2023-10-10 09:26:37 +02:00 committed by Rusty Russell
parent 176a58f9e0
commit 1a46b37609
1 changed files with 1 additions and 0 deletions

View File

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