diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js index ad10035e0..f65a60b47 100644 --- a/lib/modules/ens/embarkjs.js +++ b/lib/modules/ens/embarkjs.js @@ -164,6 +164,7 @@ __embarkENS.setProvider = function (config) { EmbarkJS.onReady(() => { self.registration = config.registration; + EmbarkJS.onReady(() => { web3.eth.net.getId() .then((id) => { const registryAddress = self.registryAddresses[id] || config.registryAddress;