Prevent embark to crash when there is no config for ens

This commit is contained in:
Anthony Laibe 2018-09-12 12:05:31 +01:00
parent 8304657dc1
commit 1ce8474824
1 changed files with 1 additions and 1 deletions

View File

@ -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) {