diff --git a/src/lib/modules/whisper/index.js b/src/lib/modules/whisper/index.js index feb86be42..2a0a7fd2c 100644 --- a/src/lib/modules/whisper/index.js +++ b/src/lib/modules/whisper/index.js @@ -67,6 +67,7 @@ class Whisper { return cb(); } if (this.web3.currentProvider.connection.readyState !== 1) { + this.connectToProvider(); return setTimeout(this.waitForWeb3Ready.bind(this, cb), 50); } this.web3Ready = true;