From bc05151734c48b0433bc42c9bffd1c9ff7b88565 Mon Sep 17 00:00:00 2001 From: phm Date: Sun, 23 Feb 2014 12:50:24 +0100 Subject: [PATCH] Corrected target in nonce test. --- sgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index 06e896a5..621e4f7a 100644 --- a/sgminer.c +++ b/sgminer.c @@ -6056,7 +6056,7 @@ bool test_nonce(struct work *work, uint32_t nonce) uint32_t diff1targ; rebuild_nonce(work, nonce); - diff1targ = 0x000000ffUL; + diff1targ = 0x0000ffffUL; return (le32toh(*hash_32) <= diff1targ); }