Changing connection

This commit is contained in:
Richard Ramos 2018-10-19 20:43:20 -04:00
parent 93de9e7949
commit d352b8f6c6

View File

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