docs: remove unnecessary comment from swap
Co-authored-by: Tamara <tamara@datarevenue.com>
This commit is contained in:
committed by
royvardhan
parent
f853739a3d
commit
2086484898
@@ -143,7 +143,6 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard {
|
|||||||
address receiver,
|
address receiver,
|
||||||
bytes calldata swaps
|
bytes calldata swaps
|
||||||
) public payable whenNotPaused nonReentrant returns (uint256 amountOut) {
|
) public payable whenNotPaused nonReentrant returns (uint256 amountOut) {
|
||||||
// Transfer the tokenIn token to the router
|
|
||||||
IERC20(tokenIn).safeTransferFrom(msg.sender, address(this), amountIn);
|
IERC20(tokenIn).safeTransferFrom(msg.sender, address(this), amountIn);
|
||||||
return _swapChecked(
|
return _swapChecked(
|
||||||
amountIn,
|
amountIn,
|
||||||
|
|||||||
Reference in New Issue
Block a user