From fd6f032923081dff4e727e8788e2a622e9a6c2f7 Mon Sep 17 00:00:00 2001 From: benjamin852 Date: Tue, 10 Sep 2024 11:26:00 -0400 Subject: [PATCH] chore: removed subtraction --- scripts/libs/its-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libs/its-utils.js b/scripts/libs/its-utils.js index 0d850b19..bcce3a7f 100644 --- a/scripts/libs/its-utils.js +++ b/scripts/libs/its-utils.js @@ -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();