[FIX] Add memcache suffix for esttimeperblock
This commit is contained in:
parent
5724068140
commit
a3cbd7dc8b
@ -831,7 +831,7 @@ class Statistics extends Base {
|
|||||||
$dDifficulty = 1;
|
$dDifficulty = 1;
|
||||||
}
|
}
|
||||||
if ($hashrate <= 0) $hashrate = 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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user