1
0

try to fix "--offline" mode

This commit is contained in:
SomberNight
2020-01-09 18:21:48 +01:00
parent 37747d7469
commit 94888739d3
7 changed files with 22 additions and 9 deletions

View File

@@ -157,9 +157,9 @@ class ElectrumGui(Logger):
m.clear()
network = self.daemon.network
m.addAction(_("Network"), self.show_network_dialog)
if network.lngossip:
if network and network.lngossip:
m.addAction(_("Lightning Network"), self.show_lightning_dialog)
if network.local_watchtower:
if network and network.local_watchtower:
m.addAction(_("Local Watchtower"), self.show_watchtower_dialog)
for window in self.windows:
name = window.wallet.basename()