refactor: changed struct name

This commit is contained in:
emilio 2021-07-11 20:09:11 +02:00
parent 76a141cd36
commit 459151a3c1

View File

@ -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();