Skip to content

Commit

Permalink
better suited err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
3esmit committed Oct 12, 2018
1 parent e746f5c commit 30ce35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/registry/UsernameRegistrar.sol
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
internal
returns(bytes32 namehash)
{
require(state == RegistrarState.Active, "Registry unavailable.");
require(state == RegistrarState.Active, "Registry not active.");
namehash = keccak256(abi.encodePacked(ensNode, _label));
require(ensRegistry.owner(namehash) == address(0), "ENS node already owned.");
require(accounts[_label].creationTime == 0, "Username already registered.");
Expand Down

0 comments on commit 30ce35c

Please sign in to comment.