CREATE2 callback validation; init code storage contracts
This commit is contained in:
@@ -23,7 +23,7 @@ abstract contract OwnableExternal is OwnableInternal, IOwnable {
|
||||
/**
|
||||
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
|
||||
*/
|
||||
constructor(address initialOwner) {
|
||||
function ownableConstructor(address initialOwner) internal {
|
||||
if (initialOwner == address(0)) {
|
||||
revert OwnableInvalidOwner(address(0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user