Silence primary pool errors if failover active.

This commit is contained in:
XMRig
2018-04-26 15:28:33 +07:00
parent a57800bb6e
commit 2ff6765870
7 changed files with 22 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ Network::Network(xmrig::Controller *controller) :
m_strategy = new FailoverStrategy(pools, controller->config()->retryPause(), controller->config()->retries(), this);
}
else {
m_strategy = new SinglePoolStrategy(pools.front(), controller->config()->retryPause(), this);
m_strategy = new SinglePoolStrategy(pools.front(), controller->config()->retryPause(), controller->config()->retries(), this);
}
if (controller->config()->donateLevel() > 0) {