mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Merge branch 'new-updates' into new-tests
This commit is contained in:
commit
e01f60eaf4
|
@ -119,7 +119,7 @@ contract MigrateResolver is LiquidityResolver {
|
|||
require(j != i, "token-repeated");
|
||||
}
|
||||
}
|
||||
require(_token != wethAddr, "should-be-eth-address");
|
||||
require(_token != ethAddr, "should-be-eth-address");
|
||||
}
|
||||
|
||||
for (uint i = 0; i < _data.borrowTokens.length; i++) {
|
||||
|
@ -129,7 +129,7 @@ contract MigrateResolver is LiquidityResolver {
|
|||
require(j != i, "token-repeated");
|
||||
}
|
||||
}
|
||||
require(_token != wethAddr, "should-be-eth-address");
|
||||
require(_token != ethAddr, "should-be-eth-address");
|
||||
}
|
||||
|
||||
(uint[] memory stableBorrows, uint[] memory variableBorrows, uint[] memory totalBorrows) = _PaybackCalculate(aave, _data, sourceDsa);
|
||||
|
|
Loading…
Reference in New Issue
Block a user