mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
minor bug fix
This commit is contained in:
parent
818fcfeb13
commit
11ac919025
|
@ -89,11 +89,11 @@ contract AaveV2Migrator is MigrateResolver {
|
||||||
function _migratePosition(AaveData memory _data) internal {
|
function _migratePosition(AaveData memory _data) internal {
|
||||||
AaveData memory data = remapTokens(_data); // converting L1 token addresses to L2 addresses
|
AaveData memory data = remapTokens(_data); // converting L1 token addresses to L2 addresses
|
||||||
|
|
||||||
address dsa = _data.targetDsa;
|
address dsa = data.targetDsa;
|
||||||
uint[] memory supplyAmts = _data.supplyAmts;
|
uint[] memory supplyAmts = data.supplyAmts;
|
||||||
uint[] memory borrowAmts = _data.borrowAmts;
|
uint[] memory borrowAmts = data.borrowAmts;
|
||||||
address[] memory supplyTokens = _data.supplyTokens;
|
address[] memory supplyTokens = data.supplyTokens;
|
||||||
address[] memory borrowTokens = _data.borrowTokens;
|
address[] memory borrowTokens = data.borrowTokens;
|
||||||
|
|
||||||
AaveInterface aave = AaveInterface(aaveProvider.getLendingPool());
|
AaveInterface aave = AaveInterface(aaveProvider.getLendingPool());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user