mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: fixed error on balance"
This commit is contained in:
parent
57e26ebe0e
commit
9bd5b99654
|
@ -125,6 +125,7 @@ library GenericLogic {
|
|||
vars.userBalance = IScaledBalanceToken(currentReserve.aTokenAddress).scaledBalanceOf(
|
||||
user
|
||||
);
|
||||
vars.userBalance = vars.userBalance.rayMul(vars.normalizedIncome);
|
||||
vars.aTokenSupply = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user