Correct call of setZeroDonateLevel
This commit is contained in:
parent
5c0e89241f
commit
a8376bb512
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ public:
|
|||
Api *api() const;
|
||||
bool reload(const rapidjson::Value &json);
|
||||
Config *config() const;
|
||||
inline void setZeroDonateLevel() { d_ptr->config->setZeroDonateLevel(); }
|
||||
void addListener(IBaseListener *listener);
|
||||
|
||||
protected:
|
||||
|
|
|
@ -62,7 +62,7 @@ int xmrig::Controller::init()
|
|||
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);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue