Browse Source

fix the hash_count return

Xiangfu 13 years ago
parent
commit
0e381f802c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      driver-avalon.c

+ 1 - 2
driver-avalon.c

@@ -771,8 +771,7 @@ static int64_t avalon_scanhash(struct thr_info *thr, struct work **work,
 	 *
 	 *
 	 * Any patch will be great.
 	 * Any patch will be great.
 	 */
 	 */
-	return (hash_count ? (hash_count * 2) :
-		((int64_t)256*1024*1024)*info->miner_count*info->asic_count);
+	return (hash_count * 2);
 }
 }
 
 
 static struct api_data *avalon_api_stats(struct cgpu_info *cgpu)
 static struct api_data *avalon_api_stats(struct cgpu_info *cgpu)