1
0

improve lightning_dialog GUI settings

This commit is contained in:
ThomasV
2019-05-22 12:30:45 +02:00
parent 15eecab978
commit 32e517f407
3 changed files with 56 additions and 32 deletions

View File

@@ -143,7 +143,10 @@ class LNWatcher(AddressSynchronizer):
def set_remote_watchtower(self):
watchtower_url = self.config.get('watchtower_url')
self.watchtower = jsonrpclib.Server(watchtower_url) if watchtower_url else None
try:
self.watchtower = jsonrpclib.Server(watchtower_url) if watchtower_url else None
except:
self.watchtower = None
self.watchtower_queue = asyncio.Queue()
def get_num_tx(self, outpoint):