mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-05 16:07:42 +00:00
Fix missing "asm" in generated config.
This commit is contained in:
parent
850150dc00
commit
a63677e255
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
|
|||
|
||||
doc.AddMember("algo", StringRef(algorithm().name()), allocator);
|
||||
|
||||
# ifndef XMRIG_NO_ASM
|
||||
doc.AddMember("asm", Asm::toJSON(m_assembly), allocator);
|
||||
# endif
|
||||
|
||||
Value api(kObjectType);
|
||||
api.AddMember("port", apiPort(), allocator);
|
||||
api.AddMember("access-token", apiToken() ? Value(StringRef(apiToken())).Move() : Value(kNullType).Move(), allocator);
|
||||
|
|
Loading…
Reference in a new issue