[FIX] Add memcache suffix for esttimeperblock

This commit is contained in:
Sebastian Grewe 2014-05-15 10:56:00 +02:00
parent 5724068140
commit a3cbd7dc8b

View File

@ -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));
}
/**