Change revert reason in ownable to be similar to all other revert reasons
This commit is contained in:
@@ -22,7 +22,7 @@ contract Ownable is IOwnable {
|
|||||||
modifier onlyOwner() {
|
modifier onlyOwner() {
|
||||||
require(
|
require(
|
||||||
msg.sender == owner,
|
msg.sender == owner,
|
||||||
"Only contract owner is allowed to call this method."
|
'ONLY_CONTRACT_OWNER'
|
||||||
);
|
);
|
||||||
_;
|
_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user