1
This commit is contained in:
parent
d7e36b2fa6
commit
714aad46d4
@ -401,9 +401,8 @@ class HashRateService extends BaseService
|
|||||||
foreach ($this->hashRateTask as $item){
|
foreach ($this->hashRateTask as $item){
|
||||||
if (is_array($item)){
|
if (is_array($item)){
|
||||||
foreach ($item as $task){
|
foreach ($item as $task){
|
||||||
$taskMeta = AchievementsPower::find($task['task_id']);
|
|
||||||
$taskDb = HashRate::find($task['task_id'],$period);
|
$taskDb = HashRate::find($task['task_id'],$period);
|
||||||
$taskDto = $this->hashRateTaskDto($taskMeta,$taskDb,$period);
|
$taskDto = $this->hashRateTaskDto($task,$taskDb,$period);
|
||||||
if ($taskDto['state'] == self::FINISHED_STATE){
|
if ($taskDto['state'] == self::FINISHED_STATE){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user