Fix nip 05 validation

This commit is contained in:
Jon Staab
2025-07-03 09:46:41 -07:00
parent c54225380e
commit bef4d09a09
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -114,7 +114,11 @@ export const deriveHandleForPubkey = (pubkey: string, relays: string[] = []) =>
loadHandle($profile.nip05)
return $handlesByNip05.get($profile.nip05)
const handle = $handlesByNip05.get($profile.nip05)
if (handle?.pubkey === pubkey) {
return handle
}
})
export const displayNip05 = (nip05: string) =>