docs: remove unnecessary comment from swap

Co-authored-by: Tamara <tamara@datarevenue.com>
This commit is contained in:
Harsh Vardhan Roy
2025-03-05 21:40:26 +05:30
committed by royvardhan
parent f853739a3d
commit 2086484898

View File

@@ -143,7 +143,6 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard {
address receiver,
bytes calldata swaps
) public payable whenNotPaused nonReentrant returns (uint256 amountOut) {
// Transfer the tokenIn token to the router
IERC20(tokenIn).safeTransferFrom(msg.sender, address(this), amountIn);
return _swapChecked(
amountIn,