Browse Source

Target should only be 32 bytes copied.

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

2
cgminer.c

@ -4516,7 +4516,7 @@ static void set_work_target(struct work *work, int diff) @@ -4516,7 +4516,7 @@ static void set_work_target(struct work *work, int diff)
free(htarget);
}
}
memcpy(work->target, target, 256);
memcpy(work->target, target, 32);
}
static void gen_stratum_work(struct pool *pool, struct work *work)

Loading…
Cancel
Save