added olympic block hash
This commit is contained in:
@@ -8,6 +8,7 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, $localStorage, soc
|
||||
// Main Stats init
|
||||
// ---------------
|
||||
|
||||
$scope.frontierHash = '?';
|
||||
$scope.nodesTotal = 0;
|
||||
$scope.nodesActive = 0;
|
||||
$scope.bestBlock = 0;
|
||||
@@ -558,6 +559,11 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, $localStorage, soc
|
||||
return parseInt(node.stats.block.number);
|
||||
}).stats;
|
||||
|
||||
if($scope.bestBlock === 1028201)
|
||||
{
|
||||
$scope.frontierHash = $scope.bestStats.block.hash;
|
||||
}
|
||||
|
||||
$scope.lastBlock = $scope.bestStats.block.arrived;
|
||||
$scope.lastDifficulty = $scope.bestStats.block.difficulty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user