chore: Correct typo in all balancerAfter/Before (again)
--- don't change below this line --- ENG-4314 Took 1 hour 14 minutes
This commit is contained in:
@@ -537,7 +537,6 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard {
|
||||
|
||||
uint256 initialBalanceTokenOut = _balanceOf(tokenOut, receiver);
|
||||
amountOut = _sequentialSwap(amountIn, swaps);
|
||||
uint256 currentBalanceTokenIn = _balanceOf(tokenIn, address(this));
|
||||
|
||||
if (amountOut < minAmountOut) {
|
||||
revert TychoRouter__NegativeSlippage(amountOut, minAmountOut);
|
||||
|
||||
Reference in New Issue
Block a user