mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 14:09:40 +01:00
Merge pull request #698 from greenart7c3/main
fix wrong pubkey in encrypt/decrypt nip44 with external signer
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user