Browse Source

Redundant check.

Con Kolivas 13 years ago
parent
commit
f7b79e34cf
1 changed files with 0 additions and 2 deletions
  1. 0 2
      cgminer.c

+ 0 - 2
cgminer.c

@@ -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);
 }
 }