Browse Source

If a share result has an error code but still has an id, it is likely a reject, not an error.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
925d01922b
  1. 2
      cgminer.c

2
cgminer.c

@ -4079,7 +4079,7 @@ static bool parse_stratum_response(char *s) @@ -4079,7 +4079,7 @@ static bool parse_stratum_response(char *s)
id_val = json_object_get(val, "id");
if ((!res_val || !id_val) || (json_is_null(res_val) || json_is_null(id_val)) ||
(err_val && !json_is_null(err_val))) {
(err_val && !json_is_null(err_val) && !id)) {
char *ss;
if (err_val)

Loading…
Cancel
Save