Merge pull request #68 from cubedro/develop
Removed call from Registrar
This commit is contained in:
commit
035c34b4c2
@ -85,7 +85,6 @@ function Node()
|
|||||||
errors: []
|
errors: []
|
||||||
};
|
};
|
||||||
this._lastStats = JSON.stringify(this.stats);
|
this._lastStats = JSON.stringify(this.stats);
|
||||||
this._coinbase = web3.eth.coinbase;
|
|
||||||
|
|
||||||
this._tries = 0;
|
this._tries = 0;
|
||||||
this._down = 0;
|
this._down = 0;
|
||||||
@ -316,7 +315,7 @@ Node.prototype.getMinerName = function(miner)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var name = this._Registrar.call({from: this._coinbase}).name(miner);
|
var name = this._Registrar.name(miner);
|
||||||
|
|
||||||
if(name.length > 0)
|
if(name.length > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user