tfix #5605 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e5ff4fc7cd668f2422401291c886aa8b7fc5bc0d DIR parent 5e92f637a65e35b26ff49c5afc94e71aa3962a15 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 6 Sep 2019 13:43:00 +0200 fix #5605 Diffstat: M electrum/wallet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/wallet.py b/electrum/wallet.py t@@ -1325,8 +1325,10 @@ class Abstract_Wallet(AddressSynchronizer): config = get_config() if key in self.receive_requests: req = self.get_payment_request(key) - else: + elif self.lnworker: req = self.lnworker.get_request(key) + else: + req = None if not req: return if config.get('payserver_port'):