mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Fix Job::getNumTransactions.
This commit is contained in:
parent
e0749a82c2
commit
f92ad4423d
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ void xmrig::Job::setSigKey(const char *sig_key)
|
|||
|
||||
uint32_t xmrig::Job::getNumTransactions() const
|
||||
{
|
||||
if (m_algorithm.family() > Algorithm::RANDOM_X) {
|
||||
if (!(m_algorithm.isCN() || m_algorithm.family() == Algorithm::RANDOM_X)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue