Merge pull request #30 from cubedro/develop

fixed double "=" bug
This commit is contained in:
Marian OANCΞA 2015-03-27 14:20:20 +02:00
commit a2b0768229

View File

@ -90,7 +90,7 @@ Node.prototype.setStats = function(stats)
if(typeof stats !== 'undefined' && typeof stats.block !== 'undefined' && typeof stats.block.number !== 'undefined')
{
if(stats.block.number !== this.stats.number) {
stats.block.received == (new Date()).getTime() - stats.block.arrival;
stats.block.received = (new Date()).getTime() - stats.block.arrival;
} else {
stats.block.received = this.stats.block.received;
}