getwork: fix reggression with normal work size
This commit is contained in:
parent
7a62bf37fa
commit
f2f11b2331
@ -869,8 +869,8 @@ static bool submit_upstream_work(CURL *curl, struct work *work)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
int data_size = sizeof(work->data);
|
int data_size = 128;
|
||||||
int adata_sz = ARRAY_SIZE(work->data);
|
int adata_sz = data_size / sizeof(uint32_t);
|
||||||
|
|
||||||
/* build hex string */
|
/* build hex string */
|
||||||
char *str = NULL;
|
char *str = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user