- Fixed _getAmountsInAndPath()

This commit is contained in:
eboado 2020-12-03 16:11:05 +01:00
parent 1916426ab1
commit 5fdb479333

View File

@ -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
) {