mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-08-15 08:20:30 +03:00
fix check for error indicating rejected share
This commit is contained in:
parent
d0de4e6ad6
commit
6f8bed0f31
@ -637,7 +637,7 @@ func goMine(job client.MultiClientJob, thread int) {
|
||||
crylog.Warn("Submit work client failure:", jobid, err)
|
||||
return
|
||||
}
|
||||
if len(resp.Error) > 0 {
|
||||
if resp.Error != nil {
|
||||
stats.ShareRejected()
|
||||
crylog.Warn("Submit work server error:", jobid, resp.Error)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user