[FIX] Remove baseline conversion from PPLNS Targets

This commit is contained in:
Sebastian Grewe 2014-03-22 14:26:12 +01:00
parent 7945b87213
commit be50e8ab47

View File

@ -360,8 +360,6 @@ class Share Extends Base {
* Fetch the lowest needed share ID from shares
**/
function getMinimumShareId($iCount, $current_upstream) {
// We don't use baseline here to be more accurate
$iCount = $iCount * pow(2, ($this->config['difficulty'] - 16));
$stmt = $this->mysqli->prepare("
SELECT MIN(b.id) AS id FROM
(