disable blockUntilReady

This commit is contained in:
reya 2023-11-23 15:12:46 +07:00
parent 2fdf437789
commit 74738c36cd
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ export function ImportAccountScreen() {
await db.secureSave(pubkey + '-bunker', localSigner.privateKey);
const remoteSigner = new NDKNip46Signer(ndk, npub, localSigner);
await remoteSigner.blockUntilReady();
// await remoteSigner.blockUntilReady();
ndk.signer = remoteSigner;
@ -259,8 +259,8 @@ export function ImportAccountScreen() {
{db.platform === 'macos'
? 'Apple Keychain (macOS)'
: db.platform === 'windows'
? 'Credential Manager (Windows)'
: 'Secret Service (Linux)'}
? 'Credential Manager (Windows)'
: 'Secret Service (Linux)'}
</b>
, it will be secured by your OS
</p>

View File

@ -71,7 +71,7 @@ export const NDKInstance = () => {
if (localSignerPrivkey) {
const localSigner = new NDKPrivateKeySigner(localSignerPrivkey);
const remoteSigner = new NDKNip46Signer(instance, db.account.id, localSigner);
await remoteSigner.blockUntilReady();
// await remoteSigner.blockUntilReady();
return remoteSigner;
}