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