From a9a809b7a0b20d197790313eefad63ac9b7e64c5 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 8a324c378..a073373fc 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) {