Browse Source

Must check against upstream diff before submitting

master
Con Kolivas 10 years ago
parent
commit
79c99c4daf
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -1987,7 +1987,8 @@ static json_t *parse_submit(stratum_instance_t *client, json_t *json_msg,
} }
invalid = false; invalid = false;
out_submit: out_submit:
submit = wb->proxy; if (wb->proxy && sdiff >= wdiff)
submit = true;
out_unlock: out_unlock:
ck_runlock(&workbase_lock); ck_runlock(&workbase_lock);

Loading…
Cancel
Save