Skip to content

Commit

Permalink
contrib: add developer option to config file in startup_regtest.sh.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tonyaldon authored and rustyrussell committed Oct 10, 2023
1 parent 176a58f commit 1a46b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/startup_regtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a46b37

Please sign in to comment.