Browse Source

Bit error in target calculation for stratum.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
ac0c813f9d
  1. 2
      cgminer.c

2
cgminer.c

@ -4559,7 +4559,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
int byte = j / 8; int byte = j / 8;
int bit = j % 8; int bit = j % 8;
data8[byte] &= ~(8 >> bit); data8[byte] &= ~(128 >> bit);
} }
swab256(target, rtarget); swab256(target, rtarget);
if (opt_debug) { if (opt_debug) {

Loading…
Cancel
Save