Browse Source

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

Con Kolivas 13 years ago
parent
commit
8230ab0549
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
cgminer.c

@@ -1239,6 +1239,7 @@ static bool work_decode(const json_t *val, struct work *work)
 
 	if (likely(!jobj_binary(val, "midstate",
 			 work->midstate, sizeof(work->midstate), false))) {
+		applog(LOG_DEBUG, "Calculating midstate locally");
 		// Calculate it ourselves
 		union {
 			unsigned char c[64];