Merge pull request #166 from cubedro/develop

Fixed add block error
This commit is contained in:
Marian OANCΞA 2015-06-01 23:50:40 +03:00
commit 8369eabe59

View File

@ -143,7 +143,7 @@ Node.prototype.setStats = function(stats, history)
Node.prototype.setBlock = function(block, history) Node.prototype.setBlock = function(block, history)
{ {
if( !_.isUndefined(block) && !_.isUndefined(block.block.number) ) if( !_.isUndefined(block) && !_.isUndefined(block.number) )
{ {
this.history = history; this.history = history;
var propagationAvg = 0; var propagationAvg = 0;