1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-12 07:48:22 +00:00

Target should only be 32 bytes copied.

This commit is contained in:
Con Kolivas 2012-10-06 01:13:52 +10:00
parent 687fed1de9
commit 8893f7ab23

View File

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