electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit bc1ec6ac3499b64001aef2900e56dcea2cc99627
parent 5175a976711101a29f9c3710f7eda5b1cfa04229
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 28 Feb 2021 13:34:24 +0100

Qt: fix running GUI offline

Diffstat:
Melectrum/gui/qt/main_window.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -2260,7 +2260,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): def update_lightning_icon(self): if self.lightning_button is None: return - if self.network.lngossip is None: + if self.network is None or self.network.channel_db is None: self.lightning_button.setVisible(False) return