mirror of https://github.com/embarklabs/embark.git
lint is king
This commit is contained in:
parent
152dfe2815
commit
2ade8cfd09
|
@ -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"}}));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue