Handle uppercase lnurls
This commit is contained in:
@@ -48,6 +48,8 @@ export const getInvoiceAmount = (bolt11: string) => {
|
||||
}
|
||||
|
||||
export const getLnUrl = (address: string) => {
|
||||
address = address.toLowerCase()
|
||||
|
||||
if (address.startsWith("lnurl1")) {
|
||||
return address
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user