diff --git a/contracts/src/V2ArbBot.sol b/contracts/src/V2ArbBot.sol index 2f8b91ec..3af9e793 100644 --- a/contracts/src/V2ArbBot.sol +++ b/contracts/src/V2ArbBot.sol @@ -96,7 +96,7 @@ contract V2ArbBot is IFlashLoanRecipient, IUniswapV2Callee { IUniswapV2Router router2 = IUniswapV2Router(router); uint[] memory amounts = router2.swapExactTokensForTokens( amountOut, - 0, + 1, // Prevent extreme zero-output slippage path, address(this), block.timestamp + 60