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:
parent
65336dc616
commit
bc05151734
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user