Skip to content

Commit

Permalink
Update client_submit.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin1579 committed Feb 7, 2021
1 parent 1f8a00a commit 5fd20dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stratum/client_submit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ static void client_do_submit(YAAMP_CLIENT *client, YAAMP_JOB *job, YAAMP_JOB_VAL
merkle_hash((char *)submitvalues->header_bin, doublehash2, strlen(submitvalues->header_be)/2);

// isnt perfect, but it works
if(strcmp(coind->symbol, "SIN") == 0)
x22i_hash_hex((char *)submitvalues->header_bin, doublehash2, strlen(submitvalues->header_be)/2);
// if(strcmp(coind->symbol, "SIN") == 0)
// x22i_hash_hex((char *)submitvalues->header_bin, doublehash2, strlen(submitvalues->header_be)/2);

char hash1[1024];
memset(hash1, 0, 1024);
Expand Down

0 comments on commit 5fd20dc

Please sign in to comment.