Merge pull request #16 from sebastianst/fix-nonce-position
solver: write nonce to correct position in header
This commit is contained in:
commit
afdaafe580
|
@ -79,6 +79,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
for (int r = 0; r < range; r++) {
|
||||
((u32 *)headernonce)[32] = htole32(nonce+r);
|
||||
((u32 *)headernonce)[27] = htole32(nonce+r);
|
||||
eq.setheadernonce(headernonce, sizeof(headernonce));
|
||||
for (int t = 0; t < nthreads; t++) {
|
||||
threads[t].id = t;
|
||||
|
|
Loading…
Reference in New Issue