Moved pool check
This commit is contained in:
parent
4d730a7a21
commit
850ca88c48
1 changed files with 2 additions and 2 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue