diff --git a/contracts/adapters/BaseUniswapAdapter.sol b/contracts/adapters/BaseUniswapAdapter.sol index b8b41dca..70d4beed 100644 --- a/contracts/adapters/BaseUniswapAdapter.sol +++ b/contracts/adapters/BaseUniswapAdapter.sol @@ -369,6 +369,7 @@ abstract contract BaseUniswapAdapter is FlashLoanReceiverBase, IBaseUniswapAdapt ? amountsWithWeth[2] : amountsWithoutWeth[1]; } catch { + amountsWithoutWeth = new uint256[](2); bestAmountOut = amountsWithWeth[2]; }