mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Fixed _getAmountsInAndPath()
This commit is contained in:
parent
1916426ab1
commit
5fdb479333
|
@ -459,8 +459,6 @@ abstract contract BaseUniswapAdapter is FlashLoanReceiverBase, IBaseUniswapAdapt
|
||||||
return (new uint256[](2), new address[](2));
|
return (new uint256[](2), new address[](2));
|
||||||
}
|
}
|
||||||
|
|
||||||
amountsWithWeth = UNISWAP_ROUTER.getAmountsIn(amountOut, pathWithWeth);
|
|
||||||
|
|
||||||
try UNISWAP_ROUTER.getAmountsIn(amountOut, simplePath) returns (
|
try UNISWAP_ROUTER.getAmountsIn(amountOut, simplePath) returns (
|
||||||
uint256[] memory resultAmounts
|
uint256[] memory resultAmounts
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user