mirror of
https://github.com/logos-messaging/waku-react-native.git
synced 2026-01-03 23:03:08 +00:00
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) => {
|
return new Promise<DecodedPayload>(async (resolve, reject) => {
|
||||||
let messageJSON = JSON.stringify(msg);
|
let messageJSON = JSON.stringify(msg);
|
||||||
let response = JSON.parse(
|
let response = JSON.parse(
|
||||||
await ReactNative.decodeSymmetric(messageJSON, privateKey)
|
await ReactNative.decodeAsymmetric(messageJSON, privateKey)
|
||||||
);
|
);
|
||||||
if (response.error) {
|
if (response.error) {
|
||||||
reject(response.error);
|
reject(response.error);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user