Browse Source

Merge pull request #5658 from vesellov/master

bug fix in  electrum/wallet.py
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
committed by GitHub
parent
commit
1773bd6cd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electrum/wallet.py

2
electrum/wallet.py

@ -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

Loading…
Cancel
Save