update: web3 conn fixes and new docker image
This commit is contained in:
@@ -135,7 +135,7 @@ Node.prototype.startWeb3Connection = function()
|
||||
console.info('Starting web3 connection');
|
||||
|
||||
web3 = new Web3();
|
||||
web3.setProvider(new web3.providers.HttpProvider('http://' + (process.env.RPC_HOST || 'localhost') + ':' + (process.env.RPC_PORT || '8545')));
|
||||
web3.setProvider(new web3.providers.HttpProvider(process.env.RPC_HOST));
|
||||
|
||||
this.checkWeb3Connection();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user