mirror of
https://github.com/status-im/hackathon-registration-dapp.git
synced 2025-02-16 22:36:59 +00:00
Changing connection
This commit is contained in:
parent
93de9e7949
commit
d352b8f6c6
@ -20,7 +20,7 @@ const events = new EventEmitter();
|
||||
|
||||
let contract;
|
||||
|
||||
const web3 = new Web3(new Web3.providers.WebsocketProvider(config.connectionURL, {headers: {Origin: "embark"}}));
|
||||
const web3 = new Web3(config.connectionURL);
|
||||
const account = web3.eth.accounts.privateKeyToAccount(config.controllerPrivK);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user