Skip to content

Commit

Permalink
Bugfix: SSM: Clear desired_default_share_pdiff when initialising desi…
Browse files Browse the repository at this point in the history
…red_share_pdiff before authentication
  • Loading branch information
luke-jr committed Nov 30, 2016
1 parent 0243f79 commit b4811a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver-stratum.c
Expand Up @@ -596,6 +596,7 @@ const char *stratumsrv_init_diff(struct cgpu_info * const proc, const char * con
return "Invalid difficulty";

conn->desired_share_pdiff = nv;
conn->desired_default_share_pdiff = false;

return NULL;
}
Expand Down

0 comments on commit b4811a7

Please sign in to comment.