1
0

ln: add test_lnwatcher

This commit is contained in:
Janus
2019-01-23 15:10:11 +01:00
committed by ThomasV
parent 129099797a
commit 8fc1779b0d
10 changed files with 237 additions and 10 deletions

View File

@@ -67,6 +67,9 @@ class SimpleConfig(Logger):
Logger.__init__(self)
self.debug_lightning = 'ELECTRUM_DEBUG_LIGHTNING_DANGEROUS' in os.environ
self.debug_lightning_do_not_settle = 'ELECTRUM_DEBUG_LIGHTNING_DO_NOT_SETTLE' in os.environ
# This lock needs to be acquired for updating and reading the config in
# a thread-safe way.
self.lock = threading.RLock()