From f6fccd4588eab74f61187dbe064ea2592592e904 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Mon, 18 Jun 2018 12:45:21 -0500 Subject: [PATCH] get rid of register for now Signed-off-by: VoR0220 --- lib/modules/ens/embarkjs.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js index 4d91b9808..0b549ebde 100644 --- a/lib/modules/ens/embarkjs.js +++ b/lib/modules/ens/embarkjs.js @@ -192,26 +192,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); -}*/