From a3cbd7dc8b171ecedf6da59572050d4c01922f88 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 15 May 2014 10:56:00 +0200 Subject: [PATCH] [FIX] Add memcache suffix for esttimeperblock --- include/classes/statistics.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/statistics.class.php b/include/classes/statistics.class.php index 26edd4c9..191bb00d 100644 --- a/include/classes/statistics.class.php +++ b/include/classes/statistics.class.php @@ -831,7 +831,7 @@ class Statistics extends Base { $dDifficulty = 1; } if ($hashrate <= 0) $hashrate = 1; - return $this->memcache->setCache(__FUNCTION__, $this->coin->calcNetworkExpectedTimePerBlock($dDifficulty, $hashrate)); + return $this->memcache->setCache(__FUNCTION__ . '_' . $type, $this->coin->calcNetworkExpectedTimePerBlock($dDifficulty, $hashrate)); } /**