Merge pull request #381 from TheSerapher/issue-378
Use poolhash rate if nethash is smaller
This commit is contained in:
commit
346d9656d8
@ -28,6 +28,9 @@ $iCurrentActiveWorkers = $worker->getCountAllActiveWorkers();
|
|||||||
$iCurrentPoolHashrate = $statistics->getCurrentHashrate();
|
$iCurrentPoolHashrate = $statistics->getCurrentHashrate();
|
||||||
$iCurrentPoolShareRate = $statistics->getCurrentShareRate();
|
$iCurrentPoolShareRate = $statistics->getCurrentShareRate();
|
||||||
|
|
||||||
|
// Avoid confusion, ensure our nethash isn't higher than poolhash
|
||||||
|
if ($iCurrentPoolHashrate > $dNetworkHashrate) $dNetworkHashrate = $iCurrentPoolHashrate;
|
||||||
|
|
||||||
// Global data for Smarty
|
// Global data for Smarty
|
||||||
$aGlobal = array(
|
$aGlobal = array(
|
||||||
'slogan' => $config['website']['slogan'],
|
'slogan' => $config['website']['slogan'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user