From 852b5a2a6673e9c4a5948647c773dee3803461e3 Mon Sep 17 00:00:00 2001 From: siklon Date: Tue, 4 Aug 2015 23:38:03 +0200 Subject: [PATCH] fix hashes_done in axiom scanhash --- algo/axiom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algo/axiom.c b/algo/axiom.c index 948a58916..8c429cf6d 100644 --- a/algo/axiom.c +++ b/algo/axiom.c @@ -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; @@ -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;