Merge pull request #64 from cubedro/develop

Fixes
This commit is contained in:
Marian OANCΞA 2015-04-09 01:12:05 +03:00
commit e353244da8

View File

@ -22,7 +22,7 @@ web3.setProvider(new web3.providers.HttpProvider('http://' + (process.env.RPC_HO
Socket = Primus.createSocket({
transformer: 'websockets',
pathname: '/api',
timeout: 10000,
timeout: 60000,
strategy: 'disconnect,online',
plugin: {emitter: Emitter, sparkLatency: Latency}
});
@ -85,7 +85,6 @@ function Node()
errors: []
};
this._lastStats = JSON.stringify(this.stats);
this._coinbase = web3.eth.coinbase;
this._tries = 0;
this._down = 0;
@ -316,7 +315,7 @@ Node.prototype.getMinerName = function(miner)
}
else
{
var name = this._Registrar.call({from: this._coinbase}).name(miner);
var name = this._Registrar.name(miner);
if(name.length > 0)
{