make lnurl sanity check case insensitive
This commit is contained in:
1 parent
d21613a765
commit
331d7e9792
1 file changed
+1
-1
@@ -110,7 +110,7 @@ struct Profile: Codable {
|
||||
return lnaddress_to_lnurl(addr);
|
||||
}
|
||||
|
||||
if !addr.hasPrefix("lnurl") {
|
||||
if !addr.lowercased().hasPrefix("lnurl") {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user