fixing missing network hashrate in this branch
This commit is contained in:
parent
526701d2e1
commit
7769550f89
@ -20,7 +20,7 @@ if ($bitcoin->can_connect() === true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Always fetch this since we need for ministats header
|
// Always fetch this since we need for ministats header
|
||||||
//$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
|
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
|
||||||
|
|
||||||
// Fetch some data
|
// Fetch some data
|
||||||
if (!$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers()) $iCurrentActiveWorkers = 0;
|
if (!$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers()) $iCurrentActiveWorkers = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user