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