mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-02 02:03:03 -05:00
Restored algo field in login request.
This commit is contained in:
@@ -575,19 +575,6 @@ void xmrig::Client::login()
|
||||
params.AddMember("rigid", m_pool.rigId().toJSON(), allocator);
|
||||
}
|
||||
|
||||
//# ifdef XMRIG_PROXY_PROJECT FIXME
|
||||
// if (m_pool.algorithm().variant() != xmrig::VARIANT_AUTO)
|
||||
//# endif
|
||||
// {
|
||||
// Value algo(kArrayType);
|
||||
|
||||
// for (const auto &a : m_pool.algorithms()) {
|
||||
// algo.PushBack(StringRef(a.shortName()), allocator);
|
||||
// }
|
||||
|
||||
// params.AddMember("algo", algo, allocator);
|
||||
// }
|
||||
|
||||
m_listener->onLogin(this, doc, params);
|
||||
|
||||
JsonRequest::create(doc, 1, "login", params);
|
||||
|
||||
Reference in New Issue
Block a user