diff --git a/contracts/receivers/aave-v2-receiver/helpers.sol b/contracts/receivers/aave-v2-receiver/helpers.sol index 637fe0c..b90d939 100644 --- a/contracts/receivers/aave-v2-receiver/helpers.sol +++ b/contracts/receivers/aave-v2-receiver/helpers.sol @@ -45,10 +45,6 @@ abstract contract Helpers is Stores, DSMath, Variables { return data; } - function getCollateralStatus(address token, address user) internal view returns (bool enabled) { - (uint bal, , , , , , , , bool isCol) = aaveData.getUserReserveData(token, user); - enabled = bal > 0 && !isCol; - } function isPositionSafe() internal view returns (bool isOk) { AaveInterface aave = AaveInterface(aaveProvider.getLendingPool()); @@ -136,4 +132,4 @@ abstract contract Helpers is Stores, DSMath, Variables { } -} \ No newline at end of file +}