Update base

This commit is contained in:
XMRig 2020-11-29 18:45:52 +07:00
parent bbcf8e2be3
commit 096b09bf4d
No known key found for this signature in database
GPG key ID: 446A53638BE94409
23 changed files with 124 additions and 187 deletions

View file

@ -163,7 +163,7 @@ public:
reply.AddMember("version", APP_VERSION, allocator);
reply.AddMember("kind", APP_KIND, allocator);
reply.AddMember("ua", StringRef(Platform::userAgent()), allocator);
reply.AddMember("ua", Platform::userAgent().toJSON(), allocator);
reply.AddMember("cpu", Cpu::toJSON(doc), allocator);
reply.AddMember("donate_level", controller->config()->pools().donateLevel(), allocator);
reply.AddMember("paused", !enabled, allocator);