fixed add block error
This commit is contained in:
parent
0d35f33cb2
commit
0925b738b9
@ -143,7 +143,7 @@ Node.prototype.setStats = function(stats, history)
|
||||
|
||||
Node.prototype.setBlock = function(block, history)
|
||||
{
|
||||
if( !_.isUndefined(block) && !_.isUndefined(block.block.number) )
|
||||
if( !_.isUndefined(block) && !_.isUndefined(block.number) )
|
||||
{
|
||||
this.history = history;
|
||||
var propagationAvg = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user