Refactoring

This commit is contained in:
XMRig
2019-07-13 00:49:17 +07:00
parent 2c2d94ab7c
commit 95a5b23f53
9 changed files with 39 additions and 64 deletions

View File

@@ -144,7 +144,7 @@ void xmrig::Network::onJob(IStrategy *strategy, IClient *client, const Job &job)
void xmrig::Network::onJobResult(const JobResult &result)
{
if (result.poolId == -1 && m_donate) {
if (result.index == 1 && m_donate) {
m_donate->submit(result);
return;
}