handle x11 difficulty for mpos compatibility
This commit is contained in:
parent
da22dad482
commit
473322c72f
|
@ -68,7 +68,7 @@ module.exports = function(logger, poolConfig){
|
|||
shareData.worker,
|
||||
isValidShare ? 'Y' : 'N',
|
||||
isValidBlock ? 'Y' : 'N',
|
||||
shareData.difficulty,
|
||||
poolConfig.coin.algorithm === 'x11' ? shareData.difficulty * 256 : shareData.difficulty,
|
||||
typeof(shareData.error) === 'undefined' ? null : shareData.error,
|
||||
shareData.blockHash ? shareData.blockHash : (shareData.blockHashInvalid ? shareData.blockHashInvalid : '')
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue