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