Merge branch 'new-updates' into new-tests

This commit is contained in:
Mubaris NK 2021-04-15 17:46:37 +05:30
commit e01f60eaf4
No known key found for this signature in database
GPG Key ID: 9AC09AD0F8D68561

View File

@ -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);