mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
filter out None in wallet.get_invoices
This commit is contained in:
parent
9ff1bd4110
commit
9fbac40d56
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue