mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Fulltest is true if value is <= target.
This commit is contained in:
parent
3c61a51ea5
commit
3cc42231f1
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…
x
Reference in New Issue
Block a user