This commit is contained in:
hujiabin 2023-09-18 14:14:51 +08:00
parent 7fbd7707ef
commit 9e740ca211

View File

@ -74,6 +74,7 @@ class ComputingPowerController extends BaseAuthedController
$curr_period['assignable_cec'] = $currentMeta['cec_pool'];
$curr_period['total_exchange_hash_rate'] = $ownerNum;
$curr_period['total_hash_rate'] = $totalNum;
$curr_period['await_time'] = strtotime($currentMeta['end_time']) - myself()->_getNowTime();
$target = \services\NumberService::ceilEx(min($totalNum / $currentMeta['cec_pool'] , 1),6);
if ($totalNum == 0) {