Skip to content

Commit

Permalink
chore: removed subtraction (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin852 authored Oct 16, 2024
1 parent 402c6c6 commit edd8396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/libs/its-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function interchainTransfer(source, destination, wallet, tokenId, amount,

console.log(`Sending ${amount} of token ${tokenAddress} to ${destination.name}`);

const tx = await sourceIts.interchainTransfer(tokenId, destination.name, wallet.address, amount - 1, '0x', fee, {
const tx = await sourceIts.interchainTransfer(tokenId, destination.name, wallet.address, amount, '0x', fee, {
value: fee,
});
await tx.wait();
Expand Down

0 comments on commit edd8396

Please sign in to comment.