[FIX] Network hashrate in khash before checks
This commit is contained in:
parent
a9b56433cb
commit
9012f480d6
@ -31,7 +31,7 @@ chdir(dirname(__FILE__));
|
|||||||
require_once('shared.inc.php');
|
require_once('shared.inc.php');
|
||||||
|
|
||||||
// Fetch hashrates
|
// Fetch hashrates
|
||||||
$dNetworkHashrate = $bitcoin->getnetworkhashps();
|
$dNetworkHashrate = $bitcoin->getnetworkhashps() / 1000;
|
||||||
$dPoolHashrate = $statistics->getCurrentHashrate();
|
$dPoolHashrate = $statistics->getCurrentHashrate();
|
||||||
$iPercentage = round(100 / $dNetworkHashrate * $dPoolHashrate, 0);
|
$iPercentage = round(100 / $dNetworkHashrate * $dPoolHashrate, 0);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user