mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
minor bug resolved
This commit is contained in:
parent
3e4b0bb033
commit
a388330549
|
@ -119,7 +119,7 @@ contract MigrateResolver is LiquidityResolver {
|
||||||
require(j != i, "token-repeated");
|
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++) {
|
for (uint i = 0; i < _data.borrowTokens.length; i++) {
|
||||||
|
@ -129,7 +129,7 @@ contract MigrateResolver is LiquidityResolver {
|
||||||
require(j != i, "token-repeated");
|
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);
|
(uint[] memory stableBorrows, uint[] memory variableBorrows, uint[] memory totalBorrows) = _PaybackCalculate(aave, _data, sourceDsa);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user