aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-01-29 23:55:11 -0500
committerJeff Garzik <jgarzik@redhat.com>2011-01-29 23:55:11 -0500
commit453101d9e9f8b7408ca645dd174aa3e8af1d87ac (patch)
tree3a9c56810613cb972827c68e4969108bd31b8e58
parenta816470950a0a00d37cc920cda51dad51558659b (diff)
Remove "PROOF OF WORK FOUND?" debug output; redundant.
-rw-r--r--cpu-miner.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu-miner.c b/cpu-miner.c
index 847e74b..f9be60c 100644
--- a/cpu-miner.c
+++ b/cpu-miner.c
@@ -203,12 +203,12 @@ static void submit_work(struct work *work)
json_t *val, *res;
char s[345];
- printf("PROOF OF WORK FOUND? submitting...\n");
-
/* build hex string */
hexstr = bin2hex(work->data, sizeof(work->data));
- if (!hexstr)
+ if (!hexstr) {
+ fprintf(stderr, "submit_work OOM\n");
goto out;
+ }
/* build JSON-RPC request */
sprintf(s,