|
|
|
@ -90,11 +90,6 @@ Node.prototype.setStats = function(stats) |
|
|
|
|
{ |
|
|
|
|
if(typeof stats !== 'undefined' && typeof stats.block !== 'undefined' && typeof stats.block.number !== 'undefined') |
|
|
|
|
{ |
|
|
|
|
// if(stats.block.number !== this.stats.block.number) {
|
|
|
|
|
// stats.block.received = (new Date()).getTime();
|
|
|
|
|
// } else {
|
|
|
|
|
// stats.block.received = this.stats.block.received;
|
|
|
|
|
// }
|
|
|
|
|
stats.block.hash = stats.block.hash.replace('0x', ''); |
|
|
|
|
|
|
|
|
|
this.stats = stats; |
|
|
|
|