1
0

enable lightning through command line option

This commit is contained in:
ThomasV
2019-05-03 16:42:52 +02:00
parent 9a3a63d18e
commit 842fff832f
12 changed files with 51 additions and 30 deletions

View File

@@ -136,7 +136,8 @@ class RequestList(MyTreeView):
self.filter()
# lightning
lnworker = self.wallet.lnworker
for key, (invoice, direction, is_paid) in lnworker.invoices.items():
items = lnworker.invoices.items() if lnworker else []
for key, (invoice, direction, is_paid) in items:
if direction == SENT:
continue
status = lnworker.get_invoice_status(key)