lnbits / lndhub

Access lnbits from BlueWallet or Zeus
MIT License
2 stars 6 forks source link

Pay uppercase invoice #8

Closed tuxArg closed 11 months ago

tuxArg commented 1 year ago

Hi, I don't know how to request a pull but I found that if you try to pay an invoice encoded in uppercase (usually because of reading a QR code) it fails. I fixed it adding r_invoice.invoice = r_invoice.invoice.lower()

to @lndhub_ext.post("/ext/payinvoice")

I'm not sure if it the best way, but it just works.

dni commented 1 year ago

that issue should be fixed on latest main and will be released 0.10.8