mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
I noticed that --network=regtest didn't override 'network=bitcoin' in the config file. Normally we parse the config file first, then the commandline (so the cmdline wins). But for early options, we do cmdline first so we can find the config file. That was fine when the only early option was the location of the config file, but now it includes plugins and the network setting. So do a boutique cmdline parse *just* to find the config file, then parse the config file early options, then the cmdline early options. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
Makefile | ||
run-find_my_abspath.c | ||
run-invoice-select-inchan.c | ||
run-jsonrpc.c |