From 11ac91902514adcd76746194d4346686d604d44a Mon Sep 17 00:00:00 2001 From: Samyak Jain <34437877+KaymasJain@users.noreply.github.com> Date: Thu, 15 Apr 2021 03:48:00 +0530 Subject: [PATCH] minor bug fix --- contracts/receivers/aave-v2-receiver/main.sol | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/receivers/aave-v2-receiver/main.sol b/contracts/receivers/aave-v2-receiver/main.sol index 2fd8509..94b7cc5 100644 --- a/contracts/receivers/aave-v2-receiver/main.sol +++ b/contracts/receivers/aave-v2-receiver/main.sol @@ -89,11 +89,11 @@ contract AaveV2Migrator is MigrateResolver { function _migratePosition(AaveData memory _data) internal { AaveData memory data = remapTokens(_data); // converting L1 token addresses to L2 addresses - address dsa = _data.targetDsa; - uint[] memory supplyAmts = _data.supplyAmts; - uint[] memory borrowAmts = _data.borrowAmts; - address[] memory supplyTokens = _data.supplyTokens; - address[] memory borrowTokens = _data.borrowTokens; + address dsa = data.targetDsa; + uint[] memory supplyAmts = data.supplyAmts; + uint[] memory borrowAmts = data.borrowAmts; + address[] memory supplyTokens = data.supplyTokens; + address[] memory borrowTokens = data.borrowTokens; AaveInterface aave = AaveInterface(aaveProvider.getLendingPool());