diff --git a/src/handler/lock-listener/lock-listener.ts b/src/handler/lock-listener/lock-listener.ts index e9851a2..569de02 100644 --- a/src/handler/lock-listener/lock-listener.ts +++ b/src/handler/lock-listener/lock-listener.ts @@ -70,7 +70,7 @@ export async function listenEvents( } const nftDetails = await sourceChain.nftData( - ev.sourceChain === "SECRET" && ev.destinationChain === "SECRET" + ev.sourceChain === "SECRET" ? convertNumbToHexToString(ev.tokenId) : ev.tokenId, ev.sourceNftContractAddress,