Merge pull request #121 from luminous-devs/fix/nsecbunker

Fix stuck issue for connect with nsecbunker
This commit is contained in:
Ren Amamiya 2023-11-24 13:53:26 +07:00 committed by GitHub
commit 065ccbbea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;

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;
}