1
0

Simplify services (watchtower, payserver):

- Do not expose services settings in GUI
 - Use a single netaddress configuration variable.
This commit is contained in:
ThomasV
2020-05-10 14:52:20 +02:00
parent 526c75ad53
commit 11aaa0b66f
6 changed files with 41 additions and 137 deletions

View File

@@ -328,7 +328,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):
self.channel_db = None # type: Optional[ChannelDB]
self.lngossip = None # type: Optional[LNGossip]
self.local_watchtower = None # type: Optional[WatchTower]
if self.config.get('run_watchtower', False):
if self.config.get('run_local_watchtower', False):
from . import lnwatcher
self.local_watchtower = lnwatcher.WatchTower(self)
self.local_watchtower.start_network(self)