From 26a09f2ba8bbf5f26e1aacbeea10b486002b1dc8 Mon Sep 17 00:00:00 2001 From: The3D Date: Mon, 24 May 2021 19:39:13 +0200 Subject: [PATCH] refactor: changed _mintToTreasury() function 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 485ad0d3..2e9850c9 100644 --- a/contracts/protocol/libraries/logic/ReserveLogic.sol +++ b/contracts/protocol/libraries/logic/ReserveLogic.sol @@ -123,7 +123,7 @@ library ReserveLogic { lastUpdatedTimestamp ); - _mintToTreasury( + _accrueToTreasury( reserve, scaledVariableDebt, previousVariableBorrowIndex, @@ -271,7 +271,7 @@ library ReserveLogic { * @param newLiquidityIndex The new liquidity index * @param newVariableBorrowIndex The variable borrow index after the last accumulation of the interest **/ - function _mintToTreasury( + function _accrueToTreasury( DataTypes.ReserveData storage reserve, uint256 scaledVariableDebt, uint256 previousVariableBorrowIndex,