mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Display in debug mode when we're making the midstate locally.
This commit is contained in:
parent
ea444d0239
commit
8230ab0549
@ -1239,6 +1239,7 @@ static bool work_decode(const json_t *val, struct work *work)
|
|||||||
|
|
||||||
if (likely(!jobj_binary(val, "midstate",
|
if (likely(!jobj_binary(val, "midstate",
|
||||||
work->midstate, sizeof(work->midstate), false))) {
|
work->midstate, sizeof(work->midstate), false))) {
|
||||||
|
applog(LOG_DEBUG, "Calculating midstate locally");
|
||||||
// Calculate it ourselves
|
// Calculate it ourselves
|
||||||
union {
|
union {
|
||||||
unsigned char c[64];
|
unsigned char c[64];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user