fix only_owner to work when called by FIFSRegistrar

This commit is contained in:
Jonathan Rainville 2018-07-23 11:56:33 -04:00 committed by Iuri Matias
parent d04cf4c2ce
commit 793597acbc

View File

@ -48,13 +48,6 @@ contract ENSRegistry is ENS {
emit NewOwner(node, label, owner);
records[subnode].owner = owner;
}
*/
function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public {
var subnode = sha3(node, label);
NewOwner(node, label, owner);
records[subnode].owner = owner;
}
/**
* @dev Sets the resolver address for the specified node.