Made some inherit-only contracts internal. (#1433)
* Made some inherit-only contracts internal. * Added OwnableMock.
This commit is contained in:
@ -11,7 +11,7 @@ contract ReentrancyGuard {
|
||||
/// @dev counter to allow mutex lock with only one SSTORE operation
|
||||
uint256 private _guardCounter;
|
||||
|
||||
constructor() public {
|
||||
constructor() internal {
|
||||
// The counter starts at one to prevent changing it from zero to a non-zero
|
||||
// value, which is a more expensive operation.
|
||||
_guardCounter = 1;
|
||||
|
||||
Reference in New Issue
Block a user