From edd8396202d4cce290cb10dc7ea8801573b06ad7 Mon Sep 17 00:00:00 2001 From: ben-weinberg Date: Wed, 16 Oct 2024 19:55:02 +0100 Subject: [PATCH] chore: removed subtraction (#200) --- 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();