1
0
mirror of git://jb55.com/damus synced 2024-10-06 19:53:22 +00:00

make lnurl sanity check case insensitive

This commit is contained in:
William Casarin 2023-02-03 11:41:31 -08:00
parent d21613a765
commit 331d7e9792

View File

@ -110,7 +110,7 @@ struct Profile: Codable {
return lnaddress_to_lnurl(addr);
}
if !addr.hasPrefix("lnurl") {
if !addr.lowercased().hasPrefix("lnurl") {
return nil
}