aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArt Forz <artforz@localhost>2011-10-01 07:35:54 +0200
committerArt Forz <artforz@localhost>2011-10-01 07:35:54 +0200
commitcd0b57640c0de03ac23bc965649d4085b1a2556a (patch)
treeb31b7f651cbdeddf370941d8aee11ec14284970d
parentde7455797ecd5d0c65b081b428a21df32151cb84 (diff)
Unbreak longpolling for scrypt
-rw-r--r--scrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scrypt.c b/scrypt.c
index e1a1262..3b80a81 100644
--- a/scrypt.c
+++ b/scrypt.c
@@ -686,6 +686,8 @@ int scanhash_scrypt(int thr_id, unsigned char *pdata, unsigned char *scratchbuf,
uint32_t n = 0;
uint32_t Htarg = *(uint32_t *)(ptarget + 28);
int i;
+
+ work_restart[thr_id].restart = 0;
for (i = 0; i < 80/4; i++)
((uint32_t *)data)[i] = swab32(((uint32_t *)pdata)[i]);