Merge pull request #842 from embark-framework/fix_cb_issue

take into account when event does not trigger a callback
This commit is contained in:
Iuri Matias 2018-09-17 14:56:40 -04:00 committed by GitHub
commit 7ce92211f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)); this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
} }
setProviderAndRegisterDomains(cb) { setProviderAndRegisterDomains(cb = (() => {})) {
const self = this; const self = this;
async.parallel([ async.parallel([
function getENSRegistry(paraCb) { function getENSRegistry(paraCb) {