fixed undefined block hash

pull/5/head
cubedro 10 years ago
parent c7066a51cd
commit bf1aed7370
  1. 3
      public/js/filters.js

@ -134,6 +134,9 @@ angular.module('netStatsApp.filters', [])
})
.filter('hashFilter', function() {
return function(hash) {
if(typeof hash === 'undefined')
return "?";
if(hash.substr(0,2) === '0x')
hash = hash.substr(2,64);

Loading…
Cancel
Save