mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
stratum: do not store anonymous invalid shares
This commit is contained in:
parent
b539cff940
commit
a2b0b7d423
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void share_write(YAAMP_DB *db)
|
|||
for(CLI li = g_list_worker.first; li; li = li->next)
|
||||
{
|
||||
YAAMP_WORKER *worker = (YAAMP_WORKER *)li->data;
|
||||
if(worker->deleted) continue;
|
||||
if(worker->deleted || !worker->workerid) continue;
|
||||
|
||||
if(count) strcat(buffer, ",");
|
||||
sprintf(buffer+strlen(buffer), "(%d, %d, %d, %d, %d, %d, %d, %f, %f, %d, '%s', %d)",
|
||||
|
|
Loading…
Add table
Reference in a new issue