mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-11 15:27:56 +00:00
call gosthash
This commit is contained in:
parent
97b22b2660
commit
a4ef4e9cbb
@ -92,7 +92,7 @@ extern "C" int scanhash_gost(int thr_id, struct work* work, uint32_t max_nonce,
|
||||
const uint32_t Htarg = ptarget[7];
|
||||
uint32_t _ALIGN(64) vhash[8];
|
||||
be32enc(&endiandata[19], work->nonces[0]);
|
||||
sibhash(vhash, endiandata);
|
||||
gosthash(vhash, endiandata);
|
||||
|
||||
if (vhash[7] <= Htarg && fulltest(vhash, ptarget)) {
|
||||
work->valid_nonces = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user