mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed syntax error
This commit is contained in:
parent
9ac6bfa90b
commit
1b2594b550
|
@ -188,7 +188,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {
|
|||
uint256 previousBalance,
|
||||
uint256 currentBalance,
|
||||
uint256 balanceIncrease
|
||||
) = _calculateCumulatedBalance(_user);
|
||||
) = _calculateBalanceIncrease(_user);
|
||||
|
||||
uint256 supplyBeforeBurn = totalSupply.add(balanceIncrease);
|
||||
uint256 supplyAfterBurn = supplyBeforeBurn.sub(_amount);
|
||||
|
|
|
@ -99,7 +99,7 @@ contract VariableDebtToken is DebtTokenBase, IVariableDebtToken {
|
|||
uint256 previousBalance,
|
||||
uint256 currentBalance,
|
||||
uint256 balanceIncrease
|
||||
) = _calculateCumulatedBalance(_user);
|
||||
) = _calculateBalanceIncrease(_user);
|
||||
|
||||
_mint(_user, _amount.add(balanceIncrease));
|
||||
|
||||
|
|
|
@ -454,4 +454,4 @@
|
|||
"deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user