1
0
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:
Con Kolivas 2012-07-14 01:10:50 +10:00
parent ea444d0239
commit 8230ab0549

View File

@ -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];