mirror of
https://github.com/logos-messaging/waku-react-native.git
synced 2026-01-03 06:43:11 +00:00
fix: typo calling decodeSymmetric instead of decodeAsymmetric
This commit is contained in:
parent
a8c884ab86
commit
2dae6765f1
@ -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…
x
Reference in New Issue
Block a user