From e5ff4fc7cd668f2422401291c886aa8b7fc5bc0d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 6 Sep 2019 13:43:00 +0200 Subject: [PATCH] fix #5605 --- electrum/wallet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index 3e8c9cee0..993e62485 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -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'):