From e41cb8d8f4634d21487f51e2ae62f510194cfcfc Mon Sep 17 00:00:00 2001 From: Michael Polzer Date: Fri, 25 May 2018 04:31:17 +0300 Subject: [PATCH] [MPOS] pass share difficulty to MySQL ++ (#602) Additionally to the changes on master we are removing the MPOS difficulty multiplier here. MPOS has been updated (currently development branch) to handle low difficulties nicely. --- libs/mposCompatibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/mposCompatibility.js b/libs/mposCompatibility.js index 6f044c4..8d6ed31 100644 --- a/libs/mposCompatibility.js +++ b/libs/mposCompatibility.js @@ -85,7 +85,7 @@ module.exports = function(logger, poolConfig){ shareData.worker, isValidShare ? 'Y' : 'N', isValidBlock ? 'Y' : 'N', - shareData.difficulty * (poolConfig.coin.mposDiffMultiplier || 1), + shareData.shareDiff, typeof(shareData.error) === 'undefined' ? null : shareData.error, shareData.blockHash ? shareData.blockHash : (shareData.blockHashInvalid ? shareData.blockHashInvalid : '') ];