Skip to content

Commit

Permalink
feat(core): update handle transferdomain tokenId for EVM tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Sep 29, 2023
1 parent 585771e commit 57e775b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mobile-app/app/api/transaction/transfer_domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export async function transferDomainSigner(
console.log("YOHOOOOO TD SIGNER3:: ", {
from,
to,
amount,
parsedAmount,
vmAddress,
});
Expand Down Expand Up @@ -138,7 +139,7 @@ export async function transferDomainSigner(
src: {
address: sourceScript,
amount: {
token: Number(sourceTokenId),
token: Number(sourceTokenId.split("-EVM")[0]),
amount,
},
domain: srcDomain,
Expand All @@ -150,7 +151,7 @@ export async function transferDomainSigner(
dst: {
address: dstScript,
amount: {
token: Number(targetTokenId),
token: Number(targetTokenId.split("-EVM")[0]),
amount,
},
domain: dstDomain,
Expand Down

0 comments on commit 57e775b

Please sign in to comment.