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

Commit

Permalink
fix hashes_done in axiom scanhash
Browse files Browse the repository at this point in the history
  • Loading branch information
siklon committed Aug 4, 2015
1 parent 47273c6 commit 852b5a2
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 852b5a2

Please sign in to comment.