Skip to content

Commit a3cbd7d

Browse files
committed
[FIX] Add memcache suffix for esttimeperblock
1 parent 5724068 commit a3cbd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/classes/statistics.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ public function getExpectedTimePerBlock($type='network',$hashrate = 0){
831831
$dDifficulty = 1;
832832
}
833833
if ($hashrate <= 0) $hashrate = 1;
834-
return $this->memcache->setCache(__FUNCTION__, $this->coin->calcNetworkExpectedTimePerBlock($dDifficulty, $hashrate));
834+
return $this->memcache->setCache(__FUNCTION__ . '_' . $type, $this->coin->calcNetworkExpectedTimePerBlock($dDifficulty, $hashrate));
835835
}
836836

837837
/**

0 commit comments

Comments
 (0)