- Fix _getAmountsInAndPath()

This commit is contained in:
eboado 2020-12-03 16:35:05 +01:00
parent a84cfdabe2
commit c7bd9d2511

View File

@ -462,7 +462,7 @@ abstract contract BaseUniswapAdapter is FlashLoanReceiverBase, IBaseUniswapAdapt
) {
amountsWithWeth = resultsWithWeth;
} catch {
return (new uint256[](2), new address[](2));
amountsWithWeth = new uint256[](3);
}
} else {
amountsWithWeth = new uint256[](3);