Fixed, for Argon2 algorithms command line options, like --threads
was ignored.
This commit is contained in:
parent
fa983eee0e
commit
df90b299f2
2 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,8 @@ void xmrig::ConfigTransform::finalize(rapidjson::Document &doc)
|
|||
BaseTransform::finalize(doc);
|
||||
|
||||
if (m_threads) {
|
||||
doc.AddMember("version", 1, allocator);
|
||||
|
||||
if (!doc.HasMember(kCpu)) {
|
||||
doc.AddMember(StringRef(kCpu), Value(kObjectType), allocator);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue