Move verbose proof-of-work/target comparison display into -D (debug)

This commit is contained in:
Jeff Garzik 2011-02-04 11:53:51 -05:00 committed by Jeff Garzik
parent 98de751416
commit 51eb1b4ef9

2
util.c
View file

@ -283,6 +283,7 @@ bool fulltest(const unsigned char *hash, const unsigned char *target)
} }
} }
if (opt_debug) {
hash_str = bin2hex(hash_swap, 32); hash_str = bin2hex(hash_swap, 32);
target_str = bin2hex(target_swap, 32); target_str = bin2hex(target_swap, 32);
@ -294,6 +295,7 @@ bool fulltest(const unsigned char *hash, const unsigned char *target)
free(hash_str); free(hash_str);
free(target_str); free(target_str);
}
return rc; return rc;
} }