Skip to content

Commit

Permalink
fix(secret): convert token id when only source chain is secret
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadusmanuet committed Dec 16, 2024
1 parent 8477179 commit af7fd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/lock-listener/lock-listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af7fd59

Please sign in to comment.