Commit 525e1267ca25d884e2732349e50eedafe70d601e

Con Kolivas 2014-01-09T09:08:57

localvec should be only 80 bytes not 80 words

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libbitfury.c b/libbitfury.c
index fb691f3..80d5ae5 100644
--- a/libbitfury.c
+++ b/libbitfury.c
@@ -360,7 +360,7 @@ bool libbitfury_sendHashData(struct cgpu_info *bf)
 	unsigned *oldbuf = info->oldbuf;
 	struct bitfury_payload *p = &(info->payload);
 	struct bitfury_payload *op = &(info->opayload);
-	unsigned int localvec[80];
+	unsigned int localvec[20];
 
 	/* Programming next value */
 	memcpy(localvec, p, 20 * 4);