Browse Source

getwork: fix reggression with normal work size

2upstream
Tanguy Pruvot 9 years ago
parent
commit
f2f11b2331
  1. 4
      ccminer.cpp

4
ccminer.cpp

@ -869,8 +869,8 @@ static bool submit_upstream_work(CURL *curl, struct work *work) @@ -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;

Loading…
Cancel
Save