fix: typo calling decodeSymmetric instead of decodeAsymmetric

This commit is contained in:
Brice Stacey 2023-02-09 09:17:33 -05:00 committed by RichΛrd
parent 7040e63e41
commit 6757cd4dd0
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ export function decodeAsymmetric(
return new Promise<DecodedPayload>(async (resolve, reject) => {
let messageJSON = JSON.stringify(msg);
let response = JSON.parse(
await ReactNative.decodeSymmetric(messageJSON, privateKey)
await ReactNative.decodeAsymmetric(messageJSON, privateKey)
);
if (response.error) {
reject(response.error);