mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Merge pull request #169 from aave/fix/protocol-2.5-scaledbalance-error
fix: fixed error on balance"
This commit is contained in:
commit
8bf4b0acf4
|
@ -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