fix in release time check
This commit is contained in:
parent
b36821ca13
commit
8de66fe108
|
@ -128,7 +128,7 @@ contract ENSSubdomainRegistry is Controlled {
|
||||||
require(account.creationTime > 0);
|
require(account.creationTime > 0);
|
||||||
if (isDomainController) {
|
if (isDomainController) {
|
||||||
require(msg.sender == ens.owner(subdomainHash));
|
require(msg.sender == ens.owner(subdomainHash));
|
||||||
require(account.creationTime + releaseDelay > block.timestamp);
|
require(account.creationTime + releaseDelay >= block.timestamp);
|
||||||
ens.setSubnodeOwner(_domainHash, _userHash, address(this));
|
ens.setSubnodeOwner(_domainHash, _userHash, address(this));
|
||||||
ens.setResolver(subdomainHash, address(0));
|
ens.setResolver(subdomainHash, address(0));
|
||||||
ens.setSubnodeOwner(_domainHash, _userHash, address(0));
|
ens.setSubnodeOwner(_domainHash, _userHash, address(0));
|
||||||
|
|
Loading…
Reference in New Issue