1
0

Kivy: Support Lightning in Send tab

This commit is contained in:
Janus
2018-11-08 11:38:18 +01:00
committed by ThomasV
parent f803bb571d
commit 1352b0ce9f
4 changed files with 88 additions and 25 deletions

View File

@@ -97,6 +97,7 @@ class LNWorker(PrintError):
l.append((time.time(), direction, json.loads(encoder.encode(htlc)), bh2u(preimage)))
self.wallet.storage.put('lightning_payments_completed', l)
self.wallet.storage.write()
self.network.trigger_callback('ln_payment_completed', direction, htlc, preimage)
def list_invoices(self):
report = self._list_invoices()