Fixed crash and added error message about seed_hash field.
This commit is contained in:
parent
044fbd7e82
commit
3543abcc3c
3 changed files with 14 additions and 3 deletions
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue