mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Correct call of setZeroDonateLevel
This commit is contained in:
@@ -55,6 +55,7 @@ public:
|
|||||||
Api *api() const;
|
Api *api() const;
|
||||||
bool reload(const rapidjson::Value &json);
|
bool reload(const rapidjson::Value &json);
|
||||||
Config *config() const;
|
Config *config() const;
|
||||||
|
inline void setZeroDonateLevel() { d_ptr->config->setZeroDonateLevel(); }
|
||||||
void addListener(IBaseListener *listener);
|
void addListener(IBaseListener *listener);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ int xmrig::Controller::init()
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) config().setZeroDonateLevel();
|
if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) setZeroDonateLevel();
|
||||||
|
|
||||||
m_network = new Network(this);
|
m_network = new Network(this);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user