Browse Source

Display in debug mode when we're making the midstate locally.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
8230ab0549
  1. 1
      cgminer.c

1
cgminer.c

@ -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…
Cancel
Save