mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-08 00:24:10 +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;
|
||||
|
||||
constructor() public {
|
||||
constructor() internal {
|
||||
controller = msg.sender;
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ contract Owned {
|
||||
address public owner;
|
||||
|
||||
/// @notice The Constructor assigns the message sender to be `owner`
|
||||
constructor() public {
|
||||
constructor() internal {
|
||||
owner = msg.sender;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user