From 4afc987111652b3116518c9eb9ac5d4ba2dd7821 Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 5 Aug 2019 18:20:56 +0700 Subject: [PATCH] Fix for previous commit. --- src/crypto/rx/RxCache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/rx/RxCache.cpp b/src/crypto/rx/RxCache.cpp index 985f4bf3c..92c366a2e 100644 --- a/src/crypto/rx/RxCache.cpp +++ b/src/crypto/rx/RxCache.cpp @@ -71,6 +71,8 @@ bool xmrig::RxCache::init(const uint8_t *seed) memcpy(m_seed, seed, sizeof(m_seed)); randomx_init_cache(m_cache, m_seed, sizeof(m_seed)); + m_initCount++; + return true; }