diff --git a/src/api/modules/encrypt/encrypt.background.ts b/src/api/modules/encrypt/encrypt.background.ts index 1334df9b5..1e52302a2 100644 --- a/src/api/modules/encrypt/encrypt.background.ts +++ b/src/api/modules/encrypt/encrypt.background.ts @@ -31,7 +31,7 @@ const background: BackgroundModuleFunction = async ( alg: "RSA-OAEP-256", ext: true }; - + if (options.publicKey) publicKey.n = options.publicKey as string; // remove wallet from memory freeDecryptedWallet(keyfile);