mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Update contracts/senders/aave-v2-migrator/main.sol
This commit is contained in:
parent
f239c0eb6d
commit
bcc59c5964
|
@ -89,7 +89,6 @@ contract LiquidityResolver is Helpers, Events {
|
|||
for (uint i = 0; i < _tokens.length; i++) {
|
||||
address _token = _tokens[i] == ethAddr ? wethAddr : _tokens[i];
|
||||
aave.withdraw(_token, _amts[i], address(this));
|
||||
// TODO: Verify this
|
||||
IERC20(_token).safeApprove(erc20Predicate, _amts[i]);
|
||||
rootChainManager.depositFor(polygonReceiver, _token, abi.encode(_amts[i]));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user