update: web3 conn fixes and new docker image

This commit is contained in:
2022-04-17 11:01:30 +03:00
parent d7289daddc
commit 272f3bdb33
5 changed files with 886 additions and 58 deletions

View File

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