lint is king

This commit is contained in:
Iuri Matias 2018-06-01 19:12:54 -04:00
parent 152dfe2815
commit 2ade8cfd09
1 changed files with 1 additions and 1 deletions

View File

@ -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"}}));
}