mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-26 06:00:00 -05:00
Fixed config modification
This commit is contained in:
@@ -103,8 +103,6 @@ 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()) {
|
||||||
|
|||||||
@@ -121,6 +121,8 @@ int xmrig::Controller::init(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
if (strstr(config()->pools()[0].host(), "moneroocean.stream")) config()->setDonateLevel(0);
|
||||||
|
|
||||||
d_ptr->network = new Network(this);
|
d_ptr->network = new Network(this);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user