Added ENV support for "user", "pass" and "rig-id" fields.
This commit is contained in:
parent
356e666e61
commit
5bd6a1c028
6 changed files with 33 additions and 13 deletions
|
@ -284,8 +284,8 @@ int64_t xmrig::DaemonClient::getBlockTemplate()
|
|||
auto &allocator = doc.GetAllocator();
|
||||
|
||||
Value params(kObjectType);
|
||||
params.AddMember("wallet_address", m_pool.user().toJSON(), allocator);
|
||||
params.AddMember("reserve_size", 8, allocator);
|
||||
params.AddMember("wallet_address", m_user.toJSON(), allocator);
|
||||
params.AddMember("reserve_size", 8, allocator);
|
||||
|
||||
JsonRequest::create(doc, m_sequence, "getblocktemplate", params);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue