From 459151a3c1320b4e330f9945ae902a0926821629 Mon Sep 17 00:00:00 2001 From: emilio Date: Sun, 11 Jul 2021 20:09:11 +0200 Subject: [PATCH] refactor: changed struct name --- contracts/protocol/libraries/logic/ReserveLogic.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/protocol/libraries/logic/ReserveLogic.sol b/contracts/protocol/libraries/logic/ReserveLogic.sol index bbcc6fb8..70f64e9e 100644 --- a/contracts/protocol/libraries/logic/ReserveLogic.sol +++ b/contracts/protocol/libraries/logic/ReserveLogic.sol @@ -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();