From 2ed9cf994d63852d846fffb3a9677279b6c27780 Mon Sep 17 00:00:00 2001 From: jinoosss Date: Fri, 15 Dec 2023 13:39:52 +0900 Subject: [PATCH] fix: [GSW-694] Fix calculate slippage --- .../web/src/repositories/swap/swap-router-repository-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/repositories/swap/swap-router-repository-impl.ts b/packages/web/src/repositories/swap/swap-router-repository-impl.ts index 7e25dc751..05d546de8 100644 --- a/packages/web/src/repositories/swap/swap-router-repository-impl.ts +++ b/packages/web/src/repositories/swap/swap-router-repository-impl.ts @@ -182,7 +182,7 @@ export class SwapRouterRepositoryImpl implements SwapRouterRepository { exactType, `${routesQuery}`, `${quotes}`, - sendTokenAmount.toString(), + tokenAmountLimitRaw.toString(), ], }); const response = await this.walletClient.sendTransaction({