mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-23 07:38:21 +00:00
fix duplicate require
This commit is contained in:
parent
1ea9959eac
commit
76f10461fb
@ -291,7 +291,6 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
|
||||
function moveRegistry(UsernameRegistrar _newRegistry)
|
||||
external
|
||||
{
|
||||
require(state == RegistrarState.Active, "Cannot update state of an non active registrar.");
|
||||
require(address(_newRegistry) != address(this), "Cannot move to self.");
|
||||
require(state == RegistrarState.Active, "Wrong state");
|
||||
address newRegistry = ensRegistry.owner(ensNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user