From 0e76e169ca3be50c60171b0cc31979daf07b8d9d Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 27 Mar 2015 13:56:11 +0200 Subject: [PATCH] refactoring --- lib/node.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,