From 8de66fe108314dced5fcefc0ce67a82602235def Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Tue, 15 May 2018 17:43:22 -0300 Subject: [PATCH] fix in release time check --- contracts/registry/ENSSubdomainRegistry.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/registry/ENSSubdomainRegistry.sol b/contracts/registry/ENSSubdomainRegistry.sol index aadb38a..8379277 100644 --- a/contracts/registry/ENSSubdomainRegistry.sol +++ b/contracts/registry/ENSSubdomainRegistry.sol @@ -128,7 +128,7 @@ contract ENSSubdomainRegistry is Controlled { require(account.creationTime > 0); if (isDomainController) { 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.setResolver(subdomainHash, address(0)); ens.setSubnodeOwner(_domainHash, _userHash, address(0));