mirror of https://github.com/embarklabs/embark.git
fix(@embark/cockpit): Fix whisper messages not being received
Cockpit whisper messages were not being subscribed to due to a inocuous bug that would swallow errors and ultimately not be subscribed to the `rxjs` observer.
This commit is contained in:
parent
c708bad8bb
commit
a67a4ad96e
|
@ -18,6 +18,7 @@ class Whisper {
|
|||
this.web3 = new Web3();
|
||||
this.embark = embark;
|
||||
this.web3Ready = false;
|
||||
this.webSocketsChannels = {};
|
||||
|
||||
if (embark.currentContext.includes('test') && options.node &&options.node === 'vm') {
|
||||
this.logger.info(__('Whisper disabled in the tests'));
|
||||
|
|
Loading…
Reference in New Issue