mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Don't reset result counter to zero if it's negative in avalon on just one successful share.
This commit is contained in:
parent
4c3fe39e94
commit
ce0a9cd3a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user