diff --git a/lib/modules/whisper/index.js b/lib/modules/whisper/index.js index 822e5587..53b80871 100644 --- a/lib/modules/whisper/index.js +++ b/lib/modules/whisper/index.js @@ -19,7 +19,7 @@ class Whisper { } connectToProvider() { - let { host, port } = this.communicationConfig.connection; + let {host, port} = this.communicationConfig.connection; let web3Endpoint = 'ws://' + host + ':' + port; this.web3.setProvider(new Web3.providers.WebsocketProvider(web3Endpoint, {headers: {Origin: "http://localhost:8000"}})); }