alexbosworth / lightning

Lightning client methods
MIT License
126 stars 32 forks source link

[subscribeToPayments] - no way to identify payments for "failed" event #136

Closed dolcalmi closed 1 year ago

dolcalmi commented 1 year ago

there is no way to identify the failed payment (by hash/id) from failed event parser failureFromPayment because is not returning it like in confirmedFromPayment.

dolcalmi commented 1 year ago

fixed here https://github.com/alexbosworth/lightning/pull/137