Skip to content

Commit

Permalink
Improve documentation of Initializable getters (#3861)
Browse files Browse the repository at this point in the history
Co-authored-by: Ernesto García <ernestognw@gmail.com>
(cherry picked from commit 3d7a938)
  • Loading branch information
frangio committed Dec 7, 2022
1 parent 3e97221 commit 4e5b119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/proxy/utils/Initializable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ abstract contract Initializable {
}

/**
* @dev Internal function that returns the initialized version. Returns `_initialized`
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint8) {
return _initialized;
}

/**
* @dev Internal function that returns the initialized version. Returns `_initializing`
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _initializing;
Expand Down

0 comments on commit 4e5b119

Please sign in to comment.