Commit 0a8ac14c9ec7a20aea75786034fd2a2edc8aab29

Con Kolivas 2011-06-12T14:26:26

Forgot the else.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cpu-miner.c b/cpu-miner.c
index f5a99b8..22b0962 100644
--- a/cpu-miner.c
+++ b/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);