fix: typo calling decodeSymmetric instead of decodeAsymmetric
This commit is contained in:
parent
7040e63e41
commit
6757cd4dd0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue