Add exa hash on filters.js just in case

when asics mine most of the ethereum hashrate at near future 😂
This commit is contained in:
EOS Classic 2018-09-16 03:46:32 +09:00 committed by Ikmyeong Na
parent 576b3e8bfd
commit 187ab3d6b1
No known key found for this signature in database
GPG Key ID: EC674310ADADE2CA

View File

@ -63,7 +63,7 @@ angular.module('netStatsApp.filters', [])
return $sce.trustAsHtml('<i class="icon-cancel"></i>'); return $sce.trustAsHtml('<i class="icon-cancel"></i>');
var result = hashes; var result = hashes;
var units = ['', 'K', 'M', 'G', 'T', 'P']; var units = ['', 'K', 'M', 'G', 'T', 'P', 'E'];
var unit = 'K'; var unit = 'K';
for(var i = 1; result > 1000; i++) for(var i = 1; result > 1000; i++)
@ -78,7 +78,7 @@ angular.module('netStatsApp.filters', [])
.filter('totalDifficultyFilter', function() { .filter('totalDifficultyFilter', function() {
return function(hashes) { return function(hashes) {
var result = hashes; var result = hashes;
var units = ['', 'K', 'M', 'G', 'T', 'P']; var units = ['', 'K', 'M', 'G', 'T', 'P', 'E'];
var unit = ''; var unit = '';
for(var i = 1; result > 1000; i++) for(var i = 1; result > 1000; i++)