From 972ebe07cda78770afde1ac641c8869514b4172d Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 25 Jul 2018 16:27:30 -0400 Subject: [PATCH] only enabble register in dev --- lib/modules/ens/embarkjs.js | 1 + 1 file changed, 1 insertion(+) 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;