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 5540f30 commit 93eb300
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/handler/multiversx/utils/listenForLockEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ export default async function listenForLockEvents(
const transactionOnNetworkMultisig = await provider.getTransaction(
tx.hash,
);
const eventTx = await provider.getTransaction(
transactionOnNetworkMultisig.contractResults.items[0].hash,
);
const transactionOutcomeLock =
converter.transactionOnNetworkToOutcome(
transactionOnNetworkMultisig,
);
converter.transactionOnNetworkToOutcome(eventTx);
const [event] = findEventsByFirstTopic(
transactionOutcomeLock,
"Locked",
Expand Down

0 comments on commit 93eb300

Please sign in to comment.