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);
|
||||
if (d == 0.0)
|
||||
break;
|
||||
hr = c->hashes / d;
|
||||
break;
|
||||
continue;
|
||||
hr += c->hashes / d;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
pthread_mutex_unlock(&mutex_clients);
|
||||
|
|
Loading…
Reference in a new issue