mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-22 00:30:03 +00:00
make constructors internal of abstract contracts
This commit is contained in:
parent
9067b7a21c
commit
7b79862005
@ -10,7 +10,7 @@ contract Controlled {
|
|||||||
|
|
||||||
address public controller;
|
address public controller;
|
||||||
|
|
||||||
constructor() public {
|
constructor() internal {
|
||||||
controller = msg.sender;
|
controller = msg.sender;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ contract Owned {
|
|||||||
address public owner;
|
address public owner;
|
||||||
|
|
||||||
/// @notice The Constructor assigns the message sender to be `owner`
|
/// @notice The Constructor assigns the message sender to be `owner`
|
||||||
constructor() public {
|
constructor() internal {
|
||||||
owner = msg.sender;
|
owner = msg.sender;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user