mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
refactor: fixed natspec comments and removed redunant check in refreshDebt()
This commit is contained in:
parent
dd07e934c2
commit
0965a99d88
|
@ -408,10 +408,8 @@ library ReserveLogic {
|
|||
.currTotalStableDebt
|
||||
.add(stableDebtMinted)
|
||||
.sub(stableDebtBurned);
|
||||
if (stableDebtMinted != 0 || stableDebtBurned != 0) {
|
||||
cache.nextAvgStableBorrowRate = IStableDebtToken(cache.stableDebtTokenAddress)
|
||||
.getAverageStableRate();
|
||||
}
|
||||
} else {
|
||||
cache.nextPrincipalStableDebt = cache.nextTotalStableDebt = cache
|
||||
.nextAvgStableBorrowRate = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user