Skip to content
Permalink
Browse files

Fix typo

  • Loading branch information...
hyc committed Sep 10, 2019
1 parent 7f72790 commit ed28b29af2b38fea6870e91f77b652c800ddbe6b
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, ssedhash, 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 ed28b29

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