1
0

lightning: Save invoices and preimages separately. Save preimages when forwarding

This commit is contained in:
ThomasV
2019-02-13 15:46:35 +01:00
parent e475617b75
commit 62be0c481c
7 changed files with 71 additions and 58 deletions

View File

@@ -84,7 +84,7 @@ class InvoiceList(MyTreeView):
self.model().insertRow(idx, items)
lnworker = self.parent.wallet.lnworker
for key, (preimage_hex, invoice, is_received, pay_timestamp) in lnworker.invoices.items():
for key, (invoice, is_received) in lnworker.invoices.items():
if is_received:
continue
status = lnworker.get_invoice_status(key)