removed trusted node check for history update
This commit is contained in:
parent
019f64c044
commit
a0c3bc238b
@ -288,7 +288,8 @@ Collection.prototype.getHistory = function()
|
||||
Collection.prototype.getBestBlockFromItems = function()
|
||||
{
|
||||
return Math.max(this._blockchain.bestBlockNumber(), _.result(_.max(this._items, function(item) {
|
||||
return ( !item.trusted ? 0 : item.stats.block.number );
|
||||
// return ( !item.trusted ? 0 : item.stats.block.number );
|
||||
return ( item.stats.block.number );
|
||||
}), 'stats.block.number', 0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user