mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Redundant check.
This commit is contained in:
parent
8bd8696854
commit
f7b79e34cf
@ -3159,8 +3159,6 @@ static void set_curblock(char *hexstr, unsigned char *hash)
|
|||||||
|
|
||||||
get_timestamp(blocktime, &block_timeval);
|
get_timestamp(blocktime, &block_timeval);
|
||||||
|
|
||||||
if (unlikely(!current_hash))
|
|
||||||
quit (1, "set_curblock OOM");
|
|
||||||
applog(LOG_INFO, "New block: %s...", current_hash);
|
applog(LOG_INFO, "New block: %s...", current_hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user