From 5b5628d75c4602fe574e6b26959017890c53c6a0 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 6 Aug 2018 08:47:27 -0400 Subject: [PATCH] only set provider if provider is ENS --- lib/modules/ens/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index 8533523c..472ea316 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -18,8 +18,6 @@ class ENS { this.namesConfig.enabled !== true || this.namesConfig.available_providers.indexOf('ens') < 0) { return; - } else if (this.namesConfig.provider !== 'ens') { - this.providerNotENS = true; } this.doSetENSProvider = this.namesConfig.provider === 'ens'; @@ -191,9 +189,6 @@ class ENS { addENSToEmbarkJS() { const self = this; - if (self.providerNotENS) { - return; - } // get namehash, import it into file self.events.request("version:get:eth-ens-namehash", function (EnsNamehashVersion) {