1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-03 18:44:29 +00:00

Corrected target in nonce test.

This commit is contained in:
phm 2014-02-23 12:50:24 +01:00
parent 65336dc616
commit bc05151734

View File

@ -6056,7 +6056,7 @@ bool test_nonce(struct work *work, uint32_t nonce)
uint32_t diff1targ; uint32_t diff1targ;
rebuild_nonce(work, nonce); rebuild_nonce(work, nonce);
diff1targ = 0x000000ffUL; diff1targ = 0x0000ffffUL;
return (le32toh(*hash_32) <= diff1targ); return (le32toh(*hash_32) <= diff1targ);
} }