tMerge pull request #5658 from vesellov/master - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1773bd6cd6b9aaa693c6c1cb865f88fc3597e09f DIR parent f3eeb8817e847cf5b1f8fd7db92b8486937e6da9 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 26 Sep 2019 13:11:34 +0200 Merge pull request #5658 from vesellov/master bug fix in electrum/wallet.py Diffstat: M electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/wallet.py b/electrum/wallet.py t@@ -232,7 +232,7 @@ class Abstract_Wallet(AddressSynchronizer): # convert invoices for invoice_key, invoice in self.invoices.items(): - if invoice['type'] == PR_TYPE_ONCHAIN: + if invoice.get('type') == PR_TYPE_ONCHAIN: outputs = [TxOutput(*output) for output in invoice.get('outputs')] invoice['outputs'] = outputs