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

@@ -134,7 +134,7 @@ class RequestList(MyTreeView):
self.filter()
# lightning
lnworker = self.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 not is_received:
continue
status = lnworker.get_invoice_status(key)