Sync changes.
This commit is contained in:
parent
9f6f599d78
commit
2a2712ab90
12 changed files with 114 additions and 33 deletions
|
@ -212,6 +212,10 @@ const char *Client::tlsVersion() const
|
|||
|
||||
int64_t Client::submit(const JobResult &result)
|
||||
{
|
||||
if (result.clientId != m_rpcId) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
using namespace rapidjson;
|
||||
|
||||
# ifdef XMRIG_PROXY_PROJECT
|
||||
|
@ -355,6 +359,8 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
|||
return false;
|
||||
}
|
||||
|
||||
m_job.setClientId(m_rpcId);
|
||||
|
||||
if (m_job != job) {
|
||||
m_jobs++;
|
||||
m_job = std::move(job);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue