mirror of https://github.com/embarklabs/embark.git
fix(@embark/ganache): fix status when ganache is not the client
We registered the status check for Ganache even when Ganache was not the client
This commit is contained in:
parent
f5db3f61b6
commit
37fbc80e40
|
@ -17,6 +17,7 @@ class Ganache {
|
|||
});
|
||||
},
|
||||
launchFn: (cb) => {
|
||||
this._registerStatusCheck();
|
||||
this._getProvider(); // No need to return anything, we just want to populate currentProvider
|
||||
this.embark.logger.info(__('Blockchain node is ready').cyan);
|
||||
cb();
|
||||
|
@ -39,8 +40,6 @@ class Ganache {
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
this._registerStatusCheck();
|
||||
}
|
||||
|
||||
_getProvider() {
|
||||
|
|
Loading…
Reference in New Issue