Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Feb 12, 2025
1 parent f055400 commit 2fad0b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 2fad0b9

Please sign in to comment.