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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user