fixed double =
This commit is contained in:
parent
2ddaf5e6ad
commit
79e6e82c4c
@ -90,7 +90,7 @@ Node.prototype.setStats = function(stats)
|
|||||||
if(typeof stats !== 'undefined' && typeof stats.block !== 'undefined' && typeof stats.block.number !== 'undefined')
|
if(typeof stats !== 'undefined' && typeof stats.block !== 'undefined' && typeof stats.block.number !== 'undefined')
|
||||||
{
|
{
|
||||||
if(stats.block.number !== this.stats.number) {
|
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 {
|
} else {
|
||||||
stats.block.received = this.stats.block.received;
|
stats.block.received = this.stats.block.received;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user