compacted block hash

This commit is contained in:
cubedro
2015-02-19 19:34:20 +02:00
parent f157b1eacf
commit d74894c99d
2 changed files with 7 additions and 2 deletions

View File

@@ -60,6 +60,11 @@ angular.module('netStatsApp.filters', [])
return (typeof gas !== 'undefined' ? parseInt(gas) : '?');
}
})
.filter('hashFilter', function() {
return function(hash) {
return hash.substr(0, 6) + '...' + hash.substr(58, 6);
}
})
.filter('timeClass', function() {
return function(timestamp) {
return timeClass(timestamp);