diff --git a/src/core/Controller.cpp b/src/core/Controller.cpp index dd85ae53..0dd2906a 100644 --- a/src/core/Controller.cpp +++ b/src/core/Controller.cpp @@ -124,7 +124,7 @@ int xmrig::Controller::init() } # endif - if (strstr(config()->pools()[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;