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); return lnaddress_to_lnurl(addr);
} }
if !addr.hasPrefix("lnurl") { if !addr.lowercased().hasPrefix("lnurl") {
return nil return nil
} }