Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from siklon/windows
Browse files Browse the repository at this point in the history
fix hashes_done in axiom scanhash
  • Loading branch information
nicehashdev committed Aug 5, 2015
2 parents 47273c6 + 852b5a2 commit 1453b1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions algo/axiom.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ int scanhash_axiom(int thr_id, uint32_t *pdata, const uint32_t *ptarget,

} while (n < max_nonce && !work_restart[thr_id].restart);

*hashes_done = n - first_nonce + 4;
*hashes_done = n - first_nonce;
pdata[19] = n;
free(memspace);
return 0;
Expand Down Expand Up @@ -393,7 +393,7 @@ int scanhash_axiom(int thr_id, uint32_t *pdata, const uint32_t *ptarget,

} while (n < max_nonce && !work_restart[thr_id].restart);

*hashes_done = n - first_nonce + 8;
*hashes_done = n - first_nonce;
pdata[19] = n;
free(memspace);
return 0;
Expand Down

0 comments on commit 1453b1d

Please sign in to comment.