Update api.js

This commit is contained in:
hellcatz 2017-05-13 15:50:05 -07:00 committed by GitHub
parent ec794f34f5
commit 6edd190842
1 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,6 @@ module.exports = function(logger, portalConfig, poolConfigs){
// get current round share total
portalStats.getTotalSharesByAddress(address, function(shares) {
var totalHash = parseFloat(0.0);
var totalHeld = parseFloat(0.0);
var totalPaid = parseFloat(0.0);
var totalShares = shares;
var networkSols = 0;
for (var h in portalStats.statHistory) {