mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 09:19:42 +01:00
FIX: internal qrcode scanning check should always check for lowercase (#1713)
fixup
This commit is contained in:
parent
587b763f03
commit
dd1c17f86f
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ async def pay_invoice(
|
|||
assert internal_invoice is not None
|
||||
if (
|
||||
internal_invoice.amount != invoice.amount_msat
|
||||
or internal_invoice.bolt11 != payment_request
|
||||
or internal_invoice.bolt11 != payment_request.lower()
|
||||
):
|
||||
raise PaymentFailure("Invalid invoice.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue