From 62fad583da19590005cee10c4d92f4ab9914fd98 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Jul 2018 15:47:41 -0400 Subject: [PATCH] don't pass web3 object to whisper module since it uses its own --- lib/core/engine.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/core/engine.js b/lib/core/engine.js index 8a324c37..a073373f 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -262,11 +262,7 @@ class Engine { web3: options.web3 }); - this.registerModule('whisper', { - // TODO: this should not be needed and should be deducted from the config instead - // the eth provider is not necessary the same as the whisper one - web3: this.blockchain.web3 - }); + this.registerModule('whisper'); } libraryManagerService(_options) {