From 1ce8474824e49227f4294ae801764b370a0f826b Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Wed, 12 Sep 2018 12:05:31 +0100 Subject: [PATCH] Prevent embark to crash when there is no config for ens --- lib/modules/ens/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index bef34d59..b03c3ba4 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -33,7 +33,7 @@ class ENS { this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this)); } - setProviderAndRegisterDomains(cb) { + setProviderAndRegisterDomains(cb = () => {}) { const self = this; async.parallel([ function getENSRegistry(paraCb) {