Fix AEON donate port.

This commit is contained in:
XMRig 2017-06-14 09:03:03 +03:00
parent 7c8a9677a1
commit 8ebb659cd6
2 changed files with 1 additions and 2 deletions

View file

@ -205,7 +205,7 @@ void Network::onTimer(uv_timer_t *handle)
auto net = static_cast<Network*>(handle->data); auto net = static_cast<Network*>(handle->data);
if (!net->m_donate) { if (!net->m_donate) {
auto url = std::make_unique<Url>("donate.xmrig.com", 443); auto url = std::make_unique<Url>("donate.xmrig.com", net->m_options->algo() == Options::ALGO_CRYPTONIGHT_LITE ? 3333 : 443);
net->m_pools[0]->connect(url.get()); net->m_pools[0]->connect(url.get());
uv_timer_start(&net->m_timer, Network::onTimer, net->m_options->donateLevel() * 60 * 1000, 0); uv_timer_start(&net->m_timer, Network::onTimer, net->m_options->donateLevel() * 60 * 1000, 0);

View file

@ -77,7 +77,6 @@ void DoubleWorker::start()
} }
void DoubleWorker::consumeJob() void DoubleWorker::consumeJob()
{ {
m_job = Workers::job(); m_job = Workers::job();