Client fixes
This commit is contained in:
parent
f569767788
commit
2fd52c2be3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue