From 2fd52c2be326983a12b7784eb662f49ec76334cd Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Tue, 14 Aug 2018 16:18:37 +0100 Subject: [PATCH] Client fixes --- lib/modules/ens/embarkjs.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js index 7e3dd0f04..2aed0ca1f 100644 --- a/lib/modules/ens/embarkjs.js +++ b/lib/modules/ens/embarkjs.js @@ -1,4 +1,4 @@ -/*global EmbarkJS, web3, ENSFunctions, namehash*/ +/*global EmbarkJS, web3, lookupAddress, resolveName, registerSubDomain, namehash, reverseAddrSuffix*/ let __embarkENS = {}; @@ -133,7 +133,6 @@ __embarkENS.resolverInterface = [ const defaultAccountNotSetError = 'web3.eth.defaultAccount not set'; const providerNotSetError = 'ENS provider not set'; -const reverseAddrSuffix = '.addr.reverse'; __embarkENS.registryAddresses = { // Mainnet @@ -181,7 +180,7 @@ __embarkENS.setProvider = function (config) { }; const createResolverContract = function (address, callback) { - callback(null, new EmbarkJS.Contract({abi: this.resolverInterface, address})); + callback(null, new EmbarkJS.Contract({abi: __embarkENS.resolverInterface, address})); }; __embarkENS.resolve = function (name, callback) {