Skip to content

Commit

Permalink
fix: Fix typos in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 9, 2021
1 parent 86ef1b9 commit 167da26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ library UserConfiguration {
* @param reservesData The data of all the reserves
* @param reservesList The reserve list
* @return True if the user is in isolation mode, false otherwise
* @return The address of the first asset used as collateral
* @return The address of the only asset used as collateral
* @return The debt ceiling of the reserve
*/
function getIsolationModeState(
Expand Down Expand Up @@ -192,7 +192,7 @@ library UserConfiguration {
/**
* @notice Returns the address of the first asset used as collateral by the user
* @param self The configuration object
* @return The address of the first collateral asset
* @return The index of the collateral asset inside the list of reserves
*/
function _getFirstAssetAsCollateralId(DataTypes.UserConfigurationMap memory self)
internal
Expand Down
1 change: 0 additions & 1 deletion contracts/protocol/libraries/helpers/Errors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pragma solidity 0.8.10;
* - PAPR = PoolAddressesProviderRegistry
* - PC = PoolConfiguration
* - RL = ReserveLogic
* - P = Pausable
*/
library Errors {
//common errors
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/logic/ReserveLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ library ReserveLogic {
* @dev A value of 1e27 means there is no debt. As time passes, the income is accrued
* @dev A value of 2*1e27 means that for each unit of debt, one unit worth of interest has been accumulated
* @param reserve The reserve object
* @return The normalized variable debt. expressed in ray
* @return The normalized variable debt, expressed in ray
**/
function getNormalizedDebt(DataTypes.ReserveData storage reserve)
internal
Expand Down

0 comments on commit 167da26

Please sign in to comment.