Skip to content

Commit

Permalink
fix(@embark/cockpit): Fix whisper messages not being received
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
emizzle committed Feb 27, 2019
1 parent c708bad commit a67a4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/embark/src/lib/modules/whisper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit a67a4ad

Please sign in to comment.