mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-18 16:46:38 +00:00
take into account when event does not trigger a cb
This commit is contained in:
parent
a43627de5b
commit
7d6809b57f
@ -33,7 +33,11 @@ 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) {
|
||||||
|
let cb = _cb
|
||||||
|
if (!cb) {
|
||||||
|
cb = function() {}
|
||||||
|
}
|
||||||
const self = this;
|
const self = this;
|
||||||
async.parallel([
|
async.parallel([
|
||||||
function getENSRegistry(paraCb) {
|
function getENSRegistry(paraCb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user