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:
parent
687fed1de9
commit
8893f7ab23
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user