Remove duplicate NIP-07 permission check

This commit is contained in:
thePR0M3TH3AN committed 2026-01-28 15:40:07 -05:00
1 parent 7992098f0f
commit 4f6035f709
1 file changed
-9
-9
View File
@@ -2116,15 +2116,6 @@ export class NostrClient {
adapter.pubkey = pubkey;
setActiveSigner(adapter);
const permissionResult = await this.ensureExtensionPermissions([
...DEFAULT_NIP07_PERMISSION_METHODS,
...DEFAULT_NIP07_ENCRYPTION_METHODS,
]);
if (!permissionResult.ok) {
throw permissionResult.error;
}
return { pubkey, signer: adapter };
}