mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed error on variable naming
This commit is contained in:
parent
7aca8679df
commit
1cd7f2d5a0
|
@ -102,10 +102,10 @@ library GenericLogic {
|
|||
.collateralBalanceETH
|
||||
.mul(vars.avgLiquidationThreshold)
|
||||
.sub(vars.amountToDecreaseETH.mul(vars.liquidationThreshold))
|
||||
.div(vars.collateralBalancefterDecrease);
|
||||
.div(vars.collateralBalanceAfterDecrease);
|
||||
|
||||
uint256 healthFactorAfterDecrease = calculateHealthFactorFromBalances(
|
||||
vars.collateralBalancefterDecrease,
|
||||
vars.collateralBalanceAfterDecrease,
|
||||
vars.borrowBalanceETH,
|
||||
vars.liquidationThresholdAfterDecrease
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user