diff --git a/libs/shareProcessor.js b/libs/shareProcessor.js index 6656527b..c8727a2e 100644 --- a/libs/shareProcessor.js +++ b/libs/shareProcessor.js @@ -71,6 +71,7 @@ module.exports = function(logger, poolConfig){ var redisCommands = []; if (isValidShare) { + redisCommands.push(['hincrbyfloat', coin + ':shares:pbaasCurrent', shareData.worker, shareData.difficulty]); redisCommands.push(['hincrbyfloat', coin + ':shares:roundCurrent', shareData.worker, shareData.difficulty]); redisCommands.push(['hincrby', coin + ':stats', 'validShares', 1]); } else {