Skip to content

Commit

Permalink
update check for dfi token
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Oct 3, 2023
1 parent b544c75 commit f600737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile-app/app/api/transaction/transfer_domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function transferDomainSigner(
const parsedAmount = parseUnits(amount.toString(), 18); // TODO: Get decimals from token contract
const vmAddress = dvmAddress;

if (sourceTokenId === "0" || targetTokenId === "0-EVM") {
if (sourceTokenId === "0" || targetTokenId === "0") {
/**
* For DFI, use `transfer` function
*/
Expand Down

0 comments on commit f600737

Please sign in to comment.