Browse Source

Workbase_id should be updated even in proxy mode or diff will only change once

master
Con Kolivas 10 years ago
parent
commit
03ba50a3e2
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -522,7 +522,6 @@ static void add_base(ckpool_t *ckp, workbase_t *wb, bool *new_block)
wb->logdir = ckalloc(len); wb->logdir = ckalloc(len);
ck_wlock(&workbase_lock); ck_wlock(&workbase_lock);
if (!ckp->proxy)
wb->id = workbase_id++; wb->id = workbase_id++;
if (strncmp(wb->prevhash, lasthash, 64)) { if (strncmp(wb->prevhash, lasthash, 64)) {

Loading…
Cancel
Save