mirror of
https://github.com/wownero/wownero-puddle.git
synced 2026-10-24 02:28:47 +02:00
loop all clients for miner hashrate
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user