Closed accumulator closed 1 year ago
Added explicit is_lightning
check in aac0e4f693b25eaa269e11d3e3351f6b636d23f6 for now, but making lnworker.get_invoice_status()
more robust is probably the better solution. Thoughts?
I guess it is fine for now. thanks
Some logging added locally. It looks like
self.lnworker.get_invoice_status(x)
assumes x is a lightning invoice, and crashes if no LN invoice is found in the request.Not sure what the best solutions is here. Make
lnworker.get_invoice_status
more robust and return a PR_UNKNOWN, or add an extraif not is_lightning
guard around thelnworker.get_invoice_status
call?