electrum

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

commit e5286f7598d0fb0784bd54529e051a679642f764
parent 5e0427392f941b957f609875363c850d15f2d75c
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 15 Aug 2019 15:11:15 +0200

minor fix: always initialize Commands.lnworker

Diffstat:
Melectrum/commands.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/electrum/commands.py b/electrum/commands.py @@ -110,8 +110,7 @@ class Commands: self.wallet = wallet self.network = network self._callback = callback - if self.wallet: - self.lnworker = self.wallet.lnworker + self.lnworker = self.wallet.lnworker if self.wallet else None def _run(self, method, args, password_getter, **kwargs): """This wrapper is called from the Qt python console."""