mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Fix _getAmountsInAndPath()
This commit is contained in:
parent
a84cfdabe2
commit
c7bd9d2511
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user