fixed add block error

This commit is contained in:
cubedro 2015-06-01 23:22:34 +03:00
parent 0d35f33cb2
commit 0925b738b9

View File

@ -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;