From 5fdb4793337f64a1f5ee3724187cb9a871efc18a Mon Sep 17 00:00:00 2001 From: eboado Date: Thu, 3 Dec 2020 16:11:05 +0100 Subject: [PATCH] - Fixed _getAmountsInAndPath() --- contracts/adapters/BaseUniswapAdapter.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/adapters/BaseUniswapAdapter.sol b/contracts/adapters/BaseUniswapAdapter.sol index 9edffd43..dd551a23 100644 --- a/contracts/adapters/BaseUniswapAdapter.sol +++ b/contracts/adapters/BaseUniswapAdapter.sol @@ -459,8 +459,6 @@ abstract contract BaseUniswapAdapter is FlashLoanReceiverBase, IBaseUniswapAdapt return (new uint256[](2), new address[](2)); } - amountsWithWeth = UNISWAP_ROUTER.getAmountsIn(amountOut, pathWithWeth); - try UNISWAP_ROUTER.getAmountsIn(amountOut, simplePath) returns ( uint256[] memory resultAmounts ) {