mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
refactor: changed struct name
This commit is contained in:
parent
76a141cd36
commit
459151a3c1
|
@ -218,7 +218,7 @@ library ReserveLogic {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct MintToTreasuryLocalVars {
|
struct AccrueToTreasuryLocalVars {
|
||||||
uint256 prevTotalStableDebt;
|
uint256 prevTotalStableDebt;
|
||||||
uint256 prevTotalVariableDebt;
|
uint256 prevTotalVariableDebt;
|
||||||
uint256 currTotalVariableDebt;
|
uint256 currTotalVariableDebt;
|
||||||
|
@ -240,7 +240,7 @@ library ReserveLogic {
|
||||||
DataTypes.ReserveData storage reserve,
|
DataTypes.ReserveData storage reserve,
|
||||||
DataTypes.ReserveCache memory reserveCache
|
DataTypes.ReserveCache memory reserveCache
|
||||||
) internal {
|
) internal {
|
||||||
MintToTreasuryLocalVars memory vars;
|
AccrueToTreasuryLocalVars memory vars;
|
||||||
|
|
||||||
vars.reserveFactor = reserveCache.reserveConfiguration.getReserveFactorMemory();
|
vars.reserveFactor = reserveCache.reserveConfiguration.getReserveFactorMemory();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user