mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-19 12:12:46 -05:00
Fixed crash and added error message about seed_hash field.
This commit is contained in:
@@ -51,6 +51,7 @@ public:
|
||||
inline bool isJIT() const { return m_flags & 8; }
|
||||
inline const uint8_t *seed() const { return m_seed; }
|
||||
inline randomx_cache *get() const { return m_cache; }
|
||||
inline uint64_t initCount() const { return m_initCount; }
|
||||
|
||||
bool init(const uint8_t *seed);
|
||||
|
||||
@@ -61,6 +62,7 @@ private:
|
||||
|
||||
int m_flags = 0;
|
||||
randomx_cache *m_cache = nullptr;
|
||||
uint64_t m_initCount = 0;
|
||||
uint8_t m_seed[32];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user