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
|
@ -77,5 +77,5 @@ bool xmrig::RxCache::init(const uint8_t *seed)
|
|||
|
||||
bool xmrig::RxCache::isReady(const uint8_t *seed) const
|
||||
{
|
||||
return memcmp(m_seed, seed, sizeof(m_seed)) == 0;
|
||||
return m_initCount && memcmp(m_seed, seed, sizeof(m_seed)) == 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue