mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-12 01:42:48 -05:00
Moved pool check
This commit is contained in:
@@ -64,8 +64,6 @@ App::App(int argc, char **argv) :
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strstr(m_controller->config()->pools()[0].host(), "moneroocean.stream")) m_controller->config()->setDonateLevel(0);
|
|
||||||
|
|
||||||
if (!m_controller->config()->isBackground()) {
|
if (!m_controller->config()->isBackground()) {
|
||||||
m_console = new Console(this);
|
m_console = new Console(this);
|
||||||
}
|
}
|
||||||
@@ -105,6 +103,8 @@ int App::exec()
|
|||||||
|
|
||||||
Mem::init(m_controller->config()->isHugePages());
|
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);
|
Summary::print(m_controller);
|
||||||
|
|
||||||
if (m_controller->config()->isDryRun()) {
|
if (m_controller->config()->isDryRun()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user