mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Fixed _getAmountsOutData()
This commit is contained in:
parent
c7bd9d2511
commit
eadaf066f2
|
@ -369,6 +369,7 @@ abstract contract BaseUniswapAdapter is FlashLoanReceiverBase, IBaseUniswapAdapt
|
|||
? amountsWithWeth[2]
|
||||
: amountsWithoutWeth[1];
|
||||
} catch {
|
||||
amountsWithoutWeth = new uint256[](2);
|
||||
bestAmountOut = amountsWithWeth[2];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user