fix nip-05
This commit is contained in:
@@ -40,7 +40,7 @@ export const NIP05 = memo(function NIP05({
|
||||
|
||||
const data: NIP05 = await res.json();
|
||||
if (data.names) {
|
||||
if (data.names[localPath] !== pubkey) return false;
|
||||
if (data.names[localPath.toLowerCase()] !== pubkey) return false;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user