From 0ff1510b3de5709ae78722534d2a5949bb9dad62 Mon Sep 17 00:00:00 2001 From: imsk17 Date: Thu, 29 Aug 2024 15:53:30 +0530 Subject: [PATCH] fix(mx): decode transactions --- src/handler/multiversx/utils/listenForLockEvents.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/handler/multiversx/utils/listenForLockEvents.ts b/src/handler/multiversx/utils/listenForLockEvents.ts index ce8bbbd..f327a0d 100644 --- a/src/handler/multiversx/utils/listenForLockEvents.ts +++ b/src/handler/multiversx/utils/listenForLockEvents.ts @@ -63,12 +63,12 @@ export default async function listenForLockEvents( for (const tx of txsForBridge) { const transactionOnNetworkMultisig = await provider.getTransaction( tx.hash, - ); - const eventTx = await provider.getTransaction( - transactionOnNetworkMultisig.contractResults.items[0].hash, + true, ); const transactionOutcomeLock = - converter.transactionOnNetworkToOutcome(eventTx); + converter.transactionOnNetworkToOutcome( + transactionOnNetworkMultisig, + ); const [event] = findEventsByFirstTopic( transactionOutcomeLock, "Locked",