getwork: fix reggression with normal work size

This commit is contained in:
Tanguy Pruvot 2016-02-20 19:38:06 +01:00
parent 7a62bf37fa
commit f2f11b2331

View File

@ -869,8 +869,8 @@ static bool submit_upstream_work(CURL *curl, struct work *work)
} else {
int data_size = sizeof(work->data);
int adata_sz = ARRAY_SIZE(work->data);
int data_size = 128;
int adata_sz = data_size / sizeof(uint32_t);
/* build hex string */
char *str = NULL;