fix update of blockheight on navbar

This commit is contained in:
Gustavo Cortez 2014-02-09 16:26:41 -03:00
parent c6d137f856
commit 34f2e933b6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ angular.module('insight.system').controller('HeaderController',
}; };
socket.on('block', function(block) { socket.on('block', function(block) {
var blockHash = block.hash.toString(); var blockHash = block.hash.hash.toString();
console.log('Updated Blocks Height!'); console.log('Updated Blocks Height!');
_getBlock(blockHash); _getBlock(blockHash);
}); });