diff --git a/src/core/Controller.cpp b/src/core/Controller.cpp index 0dd2906a..1bf2f8d0 100644 --- a/src/core/Controller.cpp +++ b/src/core/Controller.cpp @@ -124,7 +124,7 @@ int xmrig::Controller::init() } # endif - if (strstr(config()->pools.data()[0].host(), "moneroocean.stream")) config()->setDonateLevel(0); + if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) config()->setDonateLevel(0); d_ptr->network = new Network(this); return 0;