mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Merge branch 'new-tests' of https://github.com/Instadapp/dsa-polygon-migration into new-tests
This commit is contained in:
commit
5658a92037
|
@ -51,8 +51,7 @@ contract MigrateResolver is Helpers, Events {
|
|||
AaveInterface aave = AaveInterface(aaveProvider.getLendingPool());
|
||||
for (uint i = 0; i < supportedTokens.length; i++) {
|
||||
address _token = supportedTokens[i];
|
||||
if (_token == maticAddr) {
|
||||
_token = wmaticAddr;
|
||||
if (_token == wmaticAddr) {
|
||||
if (address(this).balance > 0) {
|
||||
TokenInterface(wmaticAddr).deposit{value: address(this).balance}();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user