aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-21 23:23:42 +0800
committerFabio Berger <me@fabioberger.com>2018-06-21 23:23:42 +0800
commit7869c19245c4f5c69bda8726b66df405aca8754c (patch)
tree3254fc0d55e9e6bc754afbe7283abb59d8ce6448 /packages
parent5706b29c8c52f70a76e39b583ded931c847c9236 (diff)
downloaddexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar.gz
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar.bz2
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar.lz
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar.xz
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.tar.zst
dexon-sol-tools-7869c19245c4f5c69bda8726b66df405aca8754c.zip
Change revert reason in ownable to be similar to all other revert reasons
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol b/packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol
index 296c6c856..048fdb46f 100644
--- a/packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol
+++ b/packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol
@@ -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'
);
_;
}