From 8c564da6668544b1aff16a135eee015eebe4b75e Mon Sep 17 00:00:00 2001 From: Zikriya Date: Thu, 28 Dec 2023 13:29:32 +0500 Subject: [PATCH] bug fixing --- src/services/web3.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/services/web3.service.ts b/src/services/web3.service.ts index fe1ec9d..0b3382a 100644 --- a/src/services/web3.service.ts +++ b/src/services/web3.service.ts @@ -44,7 +44,6 @@ export const signedTransaction = async ( const web3 = new Web3( rpcNodeService.getRpcNodeByChainId(job.data.sourceChainId).url ); - const destinationAmountToMachine = await getDestinationAmount(decodedData); let txData = await signatureService.getDataForSignature( job, decodedData, @@ -62,7 +61,7 @@ export const signedTransaction = async ( const signature = signatureService.createSignedPayment( txData.targetChainId, txData.targetAddress, - destinationAmountToMachine, + txData.destinationAmountIn, txData.targetToken, txData.fundManagerContractAddress, txData.salt,