diff --git a/lib/node.js b/lib/node.js index bb5eaef..026acbe 100644 --- a/lib/node.js +++ b/lib/node.js @@ -13,7 +13,7 @@ var ETH_VERSION, API_VERSION; var INSTANCE_NAME = process.env.INSTANCE_NAME; -web3.setProvider(new web3.providers.HttpProvider('http://' + (process.env.RPC_HOST || 'localhost') + ':' + (process.env.RPC_PORT || '8545'))); +web3.setProvider(new web3.providers.HttpProvider('http://' + (process.env.RPC_HOST || 'localhost') + ':' + (process.env.RPC_PORT || '8080'))); Socket = Primus.createSocket({ transformer: 'websockets', @@ -42,7 +42,7 @@ function Node() API_VERSION = web3.version.api; } catch (err) { - console.error("couldn't get Version"); + console.error("Couldn't get version"); } this.info = { @@ -56,7 +56,7 @@ function Node() this.id = _.camelCase(this.info.name); - console.log(this.info); + console.info(this.info); this.stats = { active: false,