From 4591c1f51489632394a50b7e25206e7e59107426 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 25 Jun 2014 10:08:43 +0200 Subject: [PATCH] [FIX] Fixes #2252 --- include/smarty_globals.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/smarty_globals.inc.php b/include/smarty_globals.inc.php index b45b1eda..ea13a6d1 100644 --- a/include/smarty_globals.inc.php +++ b/include/smarty_globals.inc.php @@ -26,7 +26,7 @@ if ( ! $dPoolHashrateModifier = $setting->getValue('statistics_pool_hashrate_mod $iCurrentPoolHashrate = $statistics->getCurrentHashrate(); // Avoid confusion, ensure our nethash isn't higher than poolhash -if ($iCurrentPoolHashrate > $dNetworkHashrate / 1000) $dNetworkHashrate = $iCurrentPoolHashrate; +if ($iCurrentPoolHashrate > $dNetworkHashrate / 1000) $dNetworkHashrate = $iCurrentPoolHashrate * 1000; // Baseline network hashrate for templates if ( ! $dPersonalHashrateModifier = $setting->getValue('statistics_personal_hashrate_modifier') ) $dPersonalHashrateModifier = 1;