mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
scrypt correct applog typing
This commit is contained in:
parent
c44817d5da
commit
2b2b34f500
5
scrypt.c
5
scrypt.c
@ -434,7 +434,10 @@ int scrypt_test(unsigned char *pdata, const unsigned char *ptarget, uint32_t non
|
|||||||
scrypt_1024_1_1_256_sp(data, scratchbuf, ohash);
|
scrypt_1024_1_1_256_sp(data, scratchbuf, ohash);
|
||||||
tmp_hash7 = be32toh(ohash[7]);
|
tmp_hash7 = be32toh(ohash[7]);
|
||||||
|
|
||||||
applog(LOG_DEBUG, "harget %08lx diff1 %08lx hash %08lx", Htarg, diff1targ, tmp_hash7);
|
applog(LOG_DEBUG, "harget %08lx diff1 %08lx hash %08lx",
|
||||||
|
(long unsigned int)Htarg,
|
||||||
|
(long unsigned int)diff1targ,
|
||||||
|
(long unsigned int)tmp_hash7);
|
||||||
if (tmp_hash7 > diff1targ)
|
if (tmp_hash7 > diff1targ)
|
||||||
return -1;
|
return -1;
|
||||||
if (tmp_hash7 > Htarg)
|
if (tmp_hash7 > Htarg)
|
||||||
|
Loading…
Reference in New Issue
Block a user