This commit is contained in:
hujiabin 2024-08-02 16:21:08 +08:00
parent bbb47acc67
commit da6f5e958a

View File

@ -54,11 +54,10 @@ class HashRateController extends BaseAuthedController
$state = 2;
}
$myHashRate = HashRate::getMyHashRate( $currentPeriod['id']);
$currentCompute = HashRate::getMyHashRate();
$computeR = explode("|",mt\Parameter::getVal('economy_account_compute_R',0));
$k = 0;
for ($i=0;$i<count($computeR);$i++){
if ($currentCompute >= $computeR[$i]){
if ($myHashRate >= $computeR[$i]){
$k = $i;
}
}