Moved setDonateLevel to pool

This commit is contained in:
MoneroOcean 2019-06-18 11:36:48 -07:00
parent c600d5da44
commit 8dd283a9f0

View file

@ -62,7 +62,7 @@ int xmrig::Controller::init()
return rc;
}
if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) config()->setDonateLevel(0);
if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) config()->pools().data()[0].setDonateLevel(0);
m_network = new Network(this);
return 0;