[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.
This commit is contained in:
Michael Polzer 2018-05-25 04:31:17 +03:00 committed by Matthew Little
parent 67254f63ba
commit e41cb8d8f4

View File

@ -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 : '')
];