From 3c537d577e13a03f628cfd79912b65a016bd6418 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 19 Mar 2014 17:15:19 +0100 Subject: [PATCH] [FIX] Target Bits on Dashboard --- public/include/pages/api/getdashboarddata.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/pages/api/getdashboarddata.inc.php b/public/include/pages/api/getdashboarddata.inc.php index db70772a..b4b3575b 100644 --- a/public/include/pages/api/getdashboarddata.inc.php +++ b/public/include/pages/api/getdashboarddata.inc.php @@ -98,7 +98,7 @@ $data = array( 'shares' => array( 'valid' => $aRoundShares['valid'], 'invalid' => $aRoundShares['invalid'], 'invalid_percent' => $dPoolInvalidPercent, 'estimated' => $iEstShares, 'progress' => $dEstPercent ), 'price' => $aPrice, 'difficulty' => pow(2, $config['difficulty'] - 16), - 'target_bits' => $config['difficulty'] + 'target_bits' => $coin->getTargetBits() ), 'system' => array( 'load' => sys_getloadavg() ), 'network' => array( 'hashrate' => $dNetworkHashrateAdjusted, 'difficulty' => $dDifficulty, 'block' => $iBlock, 'esttimeperblock' => round($dExpectedTimePerBlock ,2), 'nextdifficulty' => $dEstNextDifficulty, 'blocksuntildiffchange' => $iBlocksUntilDiffChange ),