1
This commit is contained in:
parent
bbb47acc67
commit
da6f5e958a
@ -54,11 +54,10 @@ class HashRateController extends BaseAuthedController
|
|||||||
$state = 2;
|
$state = 2;
|
||||||
}
|
}
|
||||||
$myHashRate = HashRate::getMyHashRate( $currentPeriod['id']);
|
$myHashRate = HashRate::getMyHashRate( $currentPeriod['id']);
|
||||||
$currentCompute = HashRate::getMyHashRate();
|
|
||||||
$computeR = explode("|",mt\Parameter::getVal('economy_account_compute_R',0));
|
$computeR = explode("|",mt\Parameter::getVal('economy_account_compute_R',0));
|
||||||
$k = 0;
|
$k = 0;
|
||||||
for ($i=0;$i<count($computeR);$i++){
|
for ($i=0;$i<count($computeR);$i++){
|
||||||
if ($currentCompute >= $computeR[$i]){
|
if ($myHashRate >= $computeR[$i]){
|
||||||
$k = $i;
|
$k = $i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user