mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +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)
|
crylog.Warn("Submit work client failure:", jobid, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(resp.Error) > 0 {
|
if resp.Error != nil {
|
||||||
stats.ShareRejected()
|
stats.ShareRejected()
|
||||||
crylog.Warn("Submit work server error:", jobid, resp.Error)
|
crylog.Warn("Submit work server error:", jobid, resp.Error)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user