Browse Source

Fulltest is true if value is <= target.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
3cc42231f1
  1. 2
      util.c

2
util.c

@ -660,7 +660,7 @@ bool fulltest(const unsigned char *hash, const unsigned char *target)
applog(LOG_DEBUG, " Proof: %s\nTarget: %s\nTrgVal? %s", applog(LOG_DEBUG, " Proof: %s\nTarget: %s\nTrgVal? %s",
hash_str, hash_str,
target_str, target_str,
rc ? "YES (hash < target)" : rc ? "YES (hash <= target)" :
"no (false positive; hash > target)"); "no (false positive; hash > target)");
free(hash_str); free(hash_str);

Loading…
Cancel
Save