mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
loop all clients for miner hashrate
This commit is contained in:
parent
c3b16dec1a
commit
0be08eddfc
1 changed files with 3 additions and 3 deletions
|
@ -474,9 +474,9 @@ miner_hr(const char *address)
|
||||||
{
|
{
|
||||||
double d = difftime(time(NULL), c->connected_since);
|
double d = difftime(time(NULL), c->connected_since);
|
||||||
if (d == 0.0)
|
if (d == 0.0)
|
||||||
break;
|
continue;
|
||||||
hr = c->hashes / d;
|
hr += c->hashes / d;
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pthread_mutex_unlock(&mutex_clients);
|
pthread_mutex_unlock(&mutex_clients);
|
||||||
|
|
Loading…
Reference in a new issue