Correct call of setZeroDonateLevel
This commit is contained in:
parent
a8376bb512
commit
7a6a07c6b6
2 changed files with 1 additions and 2 deletions
|
@ -55,7 +55,6 @@ 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")) setZeroDonateLevel();
|
||||
if (strstr(config()->pools().data()[0].host(), "moneroocean.stream")) pconfig->setZeroDonateLevel();
|
||||
|
||||
m_network = new Network(this);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue