Skip to content
Prev Previous commit
Next Next commit
Fix conflict
  • Loading branch information
ernestognw committed Jul 28, 2023
commit 1b27b496ab8bc58050d63f13c45fd8648924ee4f
4 changes: 3 additions & 1 deletion contracts/proxy/utils/Initializable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ abstract contract Initializable {
* @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
*/
function _checkInitializing() internal view virtual {
if (!_initializing) revert NotInitializing();
if (!_isInitializing()) {
revert NotInitializing();
}
}

/**
Expand Down