mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
pyln: Default to DEVELOPER=0 when running outside of tree
`DEVELOPER=1` assumes that the binary has been compiled with developer set to true, which might not be the case for plugin developers. Setting this to 0 by default has no effect in c-lightning since we always at least set it in `config.vars` but may prevent some issues outside.
This commit is contained in:
parent
d58339b872
commit
53a2789547
@ -63,7 +63,7 @@ def env(name, default=None):
|
||||
|
||||
VALGRIND = env("VALGRIND") == "1"
|
||||
TEST_NETWORK = env("TEST_NETWORK", 'regtest')
|
||||
DEVELOPER = env("DEVELOPER", "1") == "1"
|
||||
DEVELOPER = env("DEVELOPER", "0") == "1"
|
||||
TEST_DEBUG = env("TEST_DEBUG", "0") == "1"
|
||||
SLOW_MACHINE = env("SLOW_MACHINE", "0") == "1"
|
||||
TIMEOUT = int(env("TIMEOUT", 180 if SLOW_MACHINE else 60))
|
||||
|
Loading…
Reference in New Issue
Block a user