|
|
|
@ -1300,7 +1300,7 @@ static json_t *parse_submit(stratum_instance_t *client, json_t *json_msg,
|
|
|
|
|
bool share = false, result = false, invalid = true, submit = false; |
|
|
|
|
const char *user, *job_id, *nonce2, *ntime, *nonce; |
|
|
|
|
char hexhash[68], sharehash[32], *logdir; |
|
|
|
|
double diff, wdiff, sdiff = -1; |
|
|
|
|
double diff, wdiff = 0, sdiff = -1; |
|
|
|
|
char idstring[20]; |
|
|
|
|
uint32_t ntime32; |
|
|
|
|
char *fname, *s; |
|
|
|
|