Merge pull request #698 from greenart7c3/main

fix wrong pubkey in encrypt/decrypt nip44 with external signer
This commit is contained in:
Vitor Pamplona
2023-11-25 16:31:42 -05:00
committed by GitHub

View File

@@ -91,7 +91,7 @@ class NostrSignerExternal(
return launcher.encrypt( return launcher.encrypt(
decryptedContent, decryptedContent,
pubKey, toPublicKey,
SignerType.NIP44_ENCRYPT, SignerType.NIP44_ENCRYPT,
onReady onReady
) )
@@ -102,7 +102,7 @@ class NostrSignerExternal(
return launcher.decrypt( return launcher.decrypt(
encryptedContent, encryptedContent,
pubKey, fromPublicKey,
SignerType.NIP44_DECRYPT, SignerType.NIP44_DECRYPT,
onReady onReady
) )