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

@@ -73,7 +73,7 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
chan_id, i, direction, status = item
lnaddr = None
if pay_hash in invoices:
invoice = invoices[pay_hash][1]
invoice = invoices[pay_hash][0]
lnaddr = lndecode(invoice)
if status == 'inflight':
if lnaddr is not None: