fix update of blockheight on navbar
This commit is contained in:
parent
c6d137f856
commit
34f2e933b6
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue