From a67a4ad96e03b09173193235679c376a8079f0ab Mon Sep 17 00:00:00 2001 From: emizzle Date: Mon, 25 Feb 2019 13:28:57 +1100 Subject: [PATCH] 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. --- packages/embark/src/lib/modules/whisper/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/embark/src/lib/modules/whisper/index.js b/packages/embark/src/lib/modules/whisper/index.js index a6d154ac0..2dbc7e74a 100644 --- a/packages/embark/src/lib/modules/whisper/index.js +++ b/packages/embark/src/lib/modules/whisper/index.js @@ -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'));