diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js index 9ae6082b..52e8ca10 100644 --- a/lib/modules/ens/embarkjs.js +++ b/lib/modules/ens/embarkjs.js @@ -218,26 +218,3 @@ __embarkENS.lookup = function (address) { return name; }).catch(err => err); }; - -/*__embarkENS.register = function (name, options) { - const self = this; - - if (self.ens === undefined) return; - - if (options.livenet) { - return; - } - - let node = namehash.hash(name); - - return self.ens.methods.owner(node).call().then((owner) => { - if (owner !== "0x" || owner !== undefined) { - console.warn("name has already been claimed, see owner: ", owner); - return; - } - return self.ens.methods.setSubnodeOwner(node, ); - }).then((addr) => { - - return addr; - }).catch(err => err); -}*/