Browse Source

Forgot the else.

Con Kolivas 14 years ago
parent
commit
0a8ac14c9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cpu-miner.c

+ 1 - 1
cpu-miner.c

@@ -333,7 +333,7 @@ static bool submit_upstream_work(CURL *curl, const struct work *work)
 	if (json_is_true(res)) {
 		solutions++;
 		applog(LOG_INFO, "PROOF OF WORK RESULT: true (yay!!!)");
-	}
+	} else
 		applog(LOG_INFO, "PROOF OF WORK RESULT: false (booooo)");
 
 	json_decref(val);