Skip to content
Permalink
Browse files

Fix typo

  • Loading branch information...
hyc committed Sep 10, 2019
1 parent 7f72790 commit 091a0390565aa4c9636532a5e1142cc45f35efea
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/crypto/rx-slow-hash.c
@@ -263,7 +263,7 @@ void rx_slow_hash(const uint64_t mainheight, const uint64_t seedheight, const ch
}
}
if (rx_sp->rs_height != seedheight || rx_sp->rs_cache == NULL || memcmp(seedhash, rx_sp->rs_hash, sizeof(rx_sp->rs_hash))) {
randomx_init_cache(cache, hash, 32);
randomx_init_cache(cache, seedhash, 32);
rx_sp->rs_cache = cache;
rx_sp->rs_height = seedheight;
memcpy(rx_sp->rs_hash, seedhash, sizeof(rx_sp->rs_hash));

0 comments on commit 091a039

Please sign in to comment.
You can’t perform that action at this time.