From f2f11b2331bcd291d1f004dc77e1d4d29db8c338 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 20 Feb 2016 19:38:06 +0100 Subject: [PATCH] getwork: fix reggression with normal work size --- ccminer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccminer.cpp b/ccminer.cpp index 77a5221..38ddb37 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -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;