mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-02 18:34:09 +00:00
lint is king
This commit is contained in:
parent
152dfe2815
commit
2ade8cfd09
@ -19,7 +19,7 @@ class Whisper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
connectToProvider() {
|
connectToProvider() {
|
||||||
let { host, port } = this.communicationConfig.connection;
|
let {host, port} = this.communicationConfig.connection;
|
||||||
let web3Endpoint = 'ws://' + host + ':' + port;
|
let web3Endpoint = 'ws://' + host + ':' + port;
|
||||||
this.web3.setProvider(new Web3.providers.WebsocketProvider(web3Endpoint, {headers: {Origin: "http://localhost:8000"}}));
|
this.web3.setProvider(new Web3.providers.WebsocketProvider(web3Endpoint, {headers: {Origin: "http://localhost:8000"}}));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user