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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|
|
|
|