mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -05:00
Fixed crash and added error message about seed_hash field.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user