From 789c672e9244e74ee0128c6fdbe4070b157cfcd8 Mon Sep 17 00:00:00 2001 From: DaveVodrazka Date: Tue, 17 Sep 2024 16:05:59 +0200 Subject: [PATCH] fix: raw size as string --- src/components/ImpermanentLoss/getPrice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ImpermanentLoss/getPrice.ts b/src/components/ImpermanentLoss/getPrice.ts index a96d9f3c..5d55d115 100644 --- a/src/components/ImpermanentLoss/getPrice.ts +++ b/src/components/ImpermanentLoss/getPrice.ts @@ -128,7 +128,7 @@ export const buyImpLoss = async ( contractAddress: IMP_LOSS_ADDRESS, entrypoint: "hedge", calldata: [ - sizeRaw, + sizeRaw.toString(10), tokenPair.quoteToken.address, tokenPair.baseToken.address, expiry,