Merge pull request #166 from cubedro/develop

Fixed add block error
pull/5/head
Marian OANCΞA 10 years ago
commit 8369eabe59
  1. 2
      models/node.js

@ -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…
Cancel
Save