added angular filters for classes

This commit is contained in:
Marian Oancea
2015-01-29 18:50:16 +02:00
parent 5114d05c32
commit 3dd2e34371
5 changed files with 43 additions and 60 deletions

View File

@@ -38,7 +38,7 @@ Node.prototype.update = function()
}
if(this.info.stats.peers != null) {
this.info.stats.block.height = eth.number;
this.info.stats.block.height = parseInt(eth.number);
var block = eth.block(this.info.stats.block.height)
this.info.stats.block.hash = block.hash;
this.info.stats.block.timestamp = block.timestamp;