Changed init signature.
This commit is contained in:
parent
a8e86c3530
commit
044fbd7e82
4 changed files with 6 additions and 6 deletions
|
@ -62,7 +62,7 @@ xmrig::RxCache::~RxCache()
|
|||
}
|
||||
|
||||
|
||||
bool xmrig::RxCache::init(const void *seed)
|
||||
bool xmrig::RxCache::init(const uint8_t *seed)
|
||||
{
|
||||
if (isReady(seed)) {
|
||||
return false;
|
||||
|
@ -75,7 +75,7 @@ bool xmrig::RxCache::init(const void *seed)
|
|||
}
|
||||
|
||||
|
||||
bool xmrig::RxCache::isReady(const void *seed) const
|
||||
bool xmrig::RxCache::isReady(const uint8_t *seed) const
|
||||
{
|
||||
return memcmp(m_seed, seed, sizeof(m_seed)) == 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue