mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-16 15:57:38 +00:00
Fix AEON donate port.
This commit is contained in:
parent
7c8a9677a1
commit
8ebb659cd6
2 changed files with 1 additions and 2 deletions
|
@ -205,7 +205,7 @@ void Network::onTimer(uv_timer_t *handle)
|
|||
auto net = static_cast<Network*>(handle->data);
|
||||
|
||||
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());
|
||||
|
||||
uv_timer_start(&net->m_timer, Network::onTimer, net->m_options->donateLevel() * 60 * 1000, 0);
|
||||
|
|
|
@ -77,7 +77,6 @@ void DoubleWorker::start()
|
|||
}
|
||||
|
||||
|
||||
|
||||
void DoubleWorker::consumeJob()
|
||||
{
|
||||
m_job = Workers::job();
|
||||
|
|
Loading…
Reference in a new issue