Change revert reason in ownable to be similar to all other revert reasons

This commit is contained in:
Fabio Berger
2018-06-21 17:23:42 +02:00
parent 5706b29c8c
commit 7869c19245

View File

@@ -22,7 +22,7 @@ contract Ownable is IOwnable {
modifier onlyOwner() {
require(
msg.sender == owner,
"Only contract owner is allowed to call this method."
'ONLY_CONTRACT_OWNER'
);
_;
}