Merge branch 'development' into bootstrap

This commit is contained in:
Sebastian Grewe 2014-03-22 14:26:23 +01:00
commit af3b0487b1

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
(