list-all-tx: list correct state of invoices
Open
- Dominant language
- Python
- Stars
- 25
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
As a user I would like to know if my invoice was expired. Currently it just displays "failed"
The listinvoices define the "settled" and the "state" for that.
https://api.lightning.community/#lnrpc-invoice
EDIT: if the amount paid was 0 mSat then it wasn't settled. So if the state was "failed" + 0 mSat amount then do I guess correctly that the invoice expired?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.