Browse Source

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

Con Kolivas 13 years ago
parent
commit
bae053f6cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -1251,6 +1251,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];