Skip to content

Commit

Permalink
fix jh_hash optimize bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Oct 27, 2023
1 parent 709fccf commit 26f6038
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/cryptonight-rs/ext/c_jh.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ static HashReturn Init(hashState *state, int hashbitlen)
case 224: memcpy(state->x,JH224_H0,128); break;
case 256: memcpy(state->x,JH256_H0,128); break;
case 384: memcpy(state->x,JH384_H0,128); break;
default:
case 512: memcpy(state->x,JH512_H0,128); break;
}

Expand Down

0 comments on commit 26f6038

Please sign in to comment.