Commit ce0a9cd3a4620e18e391be5ce88c92a606b1fddf

Con Kolivas 2013-05-27T00:28:56

Don't reset result counter to zero if it's negative in avalon on just one successful share.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index ff17640..f3f4a37 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -621,8 +621,6 @@ static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *i
 
 			if (avalon_decode_nonce(thr, avalon, info, ar, work)) {
 				mutex_lock(&info->lock);
-				if (avalon->results < 0)
-					avalon->results = 0;
 				if (!(++avalon->results % info->miner_count)) {
 					gettemp = true;
 					avalon->results = 0;