From 8dd283a9f0770f3027ba95b6aa5394c0d3129f8c Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 18 Jun 2019 11:36:48 -0700 Subject: [PATCH] Moved setDonateLevel to pool --- src/core/Controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Controller.cpp b/src/core/Controller.cpp index e55ad638..cf66a130 100644 --- a/src/core/Controller.cpp +++ b/src/core/Controller.cpp @@ -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;