Fixed GR algo support
This commit is contained in:
parent
e3320d766d
commit
67d796e7b5
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ bool xmrig::AutoClient::parseLogin(const rapidjson::Value &result, int *code)
|
||||||
|
|
||||||
int64_t xmrig::AutoClient::submit(const JobResult &result)
|
int64_t xmrig::AutoClient::submit(const JobResult &result)
|
||||||
{
|
{
|
||||||
if (result.algorithm.family() != Algorithm::KAWPOW) {
|
if (result.algorithm.family() != Algorithm::KAWPOW || result.algorithm.family() != Algorithm::GHOSTRIDER) {
|
||||||
return Client::submit(result); // NOLINT(bugprone-parent-virtual-call)
|
return Client::submit(result); // NOLINT(bugprone-parent-virtual-call)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -230,7 +230,7 @@ void xmrig::EthStratumClient::parseNotification(const char *method, const rapidj
|
||||||
|
|
||||||
auto arr = params.GetArray();
|
auto arr = params.GetArray();
|
||||||
|
|
||||||
auto algo = Algorithm(Algorithm::KAWPOW_RVN); //m_pool.algorithm();
|
auto algo = m_pool.algorithm();
|
||||||
if (!algo.isValid()) {
|
if (!algo.isValid()) {
|
||||||
algo = m_pool.coin().algorithm();
|
algo = m_pool.coin().algorithm();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue