Correctly init config keys
This commit is contained in:
parent
c4a42a1e56
commit
cefeb871c0
1 changed files with 3 additions and 0 deletions
|
@ -138,6 +138,9 @@ bool xmrig::BaseConfig::read(const IJsonReader &reader, const char *fileName)
|
|||
m_logFile = reader.getString("log-file");
|
||||
m_userAgent = reader.getString("user-agent");
|
||||
|
||||
m_calibrateAlgo = reader.getBool("calibrate-algo");
|
||||
m_calibrateAlgoTime = reader.getInt("calibrate-algo-time");
|
||||
|
||||
setPrintTime(reader.getUint("print-time", 60));
|
||||
|
||||
const rapidjson::Value &api = reader.getObject("api");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue