Handle uppercase lnurls

This commit is contained in:
Jon Staab
2025-02-10 10:13:29 -08:00
parent cd0494659b
commit 741c4194d8
+2
View File
@@ -48,6 +48,8 @@ export const getInvoiceAmount = (bolt11: string) => {
}
export const getLnUrl = (address: string) => {
address = address.toLowerCase()
if (address.startsWith("lnurl1")) {
return address
}