1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 16:33:32 -05:00

Moved pool check

This commit is contained in:
MoneroOcean
2018-08-05 17:19:40 +02:00
parent 4d730a7a21
commit 850ca88c48

View File

@@ -64,8 +64,6 @@ App::App(int argc, char **argv) :
return;
}
if (!strstr(m_controller->config()->pools()[0].host(), "moneroocean.stream")) m_controller->config()->setDonateLevel(0);
if (!m_controller->config()->isBackground()) {
m_console = new Console(this);
}
@@ -105,6 +103,8 @@ int App::exec()
Mem::init(m_controller->config()->isHugePages());
if (!strstr(m_controller->config()->pools()[0].host(), "moneroocean.stream")) m_controller->config()->setDonateLevel(0);
Summary::print(m_controller);
if (m_controller->config()->isDryRun()) {