diff --git a/src/net/Network.cpp b/src/net/Network.cpp index eef52cd14..448f1ebb3 100644 --- a/src/net/Network.cpp +++ b/src/net/Network.cpp @@ -205,7 +205,7 @@ void Network::onTimer(uv_timer_t *handle) auto net = static_cast(handle->data); if (!net->m_donate) { - auto url = std::make_unique("donate.xmrig.com", 443); + auto url = std::make_unique("donate.xmrig.com", net->m_options->algo() == Options::ALGO_CRYPTONIGHT_LITE ? 3333 : 443); net->m_pools[0]->connect(url.get()); uv_timer_start(&net->m_timer, Network::onTimer, net->m_options->donateLevel() * 60 * 1000, 0); diff --git a/src/workers/DoubleWorker.cpp b/src/workers/DoubleWorker.cpp index f7a56dbf5..41b9aec79 100644 --- a/src/workers/DoubleWorker.cpp +++ b/src/workers/DoubleWorker.cpp @@ -77,7 +77,6 @@ void DoubleWorker::start() } - void DoubleWorker::consumeJob() { m_job = Workers::job();