Skip to content

Commit

Permalink
fix(mx): decode transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Aug 29, 2024
1 parent 93eb300 commit 0ff1510
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/handler/multiversx/utils/listenForLockEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0ff1510

Please sign in to comment.