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…
Reference in New Issue