diff --git a/contracts/polygon/connectors/aave/v3-import/helpers.sol b/contracts/polygon/connectors/aave/v3-import/helpers.sol index 902c6364..d66028a2 100644 --- a/contracts/polygon/connectors/aave/v3-import/helpers.sol +++ b/contracts/polygon/connectors/aave/v3-import/helpers.sol @@ -277,7 +277,7 @@ contract AaveHelpers is Helper { _targets[_cntr] = "BASIC-A"; _data[_cntr] = abi.encodeWithSelector( basicWithdraw, - tokens[i], + _token, _amt, address(this), 0, @@ -349,7 +349,7 @@ contract AaveHelpers is Helper { _targets[_cntr] = "BASIC-A"; _data[_cntr] = abi.encodeWithSelector( basicWithdraw, - tokens[i], + _token, _amt, address(this), 0,