Client fixes

This commit is contained in:
Anthony Laibe 2018-08-14 16:18:37 +01:00 committed by Pascal Precht
parent f569767788
commit 2fd52c2be3
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 2 additions and 3 deletions

View File

@ -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) {