From 2fad0b9cd301c26300213e6fb35d7719866c85b3 Mon Sep 17 00:00:00 2001 From: Jesse Snyder Date: Wed, 12 Feb 2025 16:27:49 -0600 Subject: [PATCH] clarify comment --- .../app/features/EvmWallet/services/SwapServices/SwapService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/flame-defi/app/features/EvmWallet/services/SwapServices/SwapService.ts b/apps/flame-defi/app/features/EvmWallet/services/SwapServices/SwapService.ts index c8b8744..81f9993 100644 --- a/apps/flame-defi/app/features/EvmWallet/services/SwapServices/SwapService.ts +++ b/apps/flame-defi/app/features/EvmWallet/services/SwapServices/SwapService.ts @@ -411,7 +411,7 @@ export class SwapRouter { const calls: string[] = []; let value = 0n; - // add wrapETH call if needed + // if isNativeIn then we need to sent TIA to the contract, so set the value accordingly if (isNativeIn) { // NOTE - we don't need to explicitly wrap ETH, the router's callback will do it for us value = BigInt(trade.inputAmount.raw.toString());