Commit graph

3 commits

Author SHA1 Message Date
Jonathan Zernik
416d5a34f8
Save invoice time and epiry in sent offers table (#457) 2020-11-13 03:01:04 -05:00
Jonathan Zernik
2f8d718518
Add received payments worker (#450)
* Got subscribe invoices worker working

* Improve error message in lnd invoice worker

* Only mark received payments if paid if the invoice is settled

* Check if invoice is settled before marking received payment as paid

* Pass settle index as param to mark paid db method

* Add migration to include settle_index in sent payments table

* Got latest settle index query working, I think

* Only return received payments that are already paid in db query

* Remove unused column from get latest settle index query

* Update static build
2020-11-11 22:02:26 -05:00
Jonathan Zernik
7195174a8b
Rename common module to lightning (#439) 2020-11-10 18:50:33 -05:00