electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 9fbac40d569de474ffc1038d1e42ea3f2c2660db
parent 9ff1bd4110c4d8c35b0a6dfd5fa90caf51892e1f
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 23 Oct 2019 05:30:16 +0200

filter out None in wallet.get_invoices

Diffstat:
Melectrum/wallet.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -583,6 +583,7 @@ class Abstract_Wallet(AddressSynchronizer): def get_invoices(self): out = [self.get_invoice(key) for key in self.invoices.keys()] + out = list(filter(None, out)) out.sort(key=operator.itemgetter('time')) return out