mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Fixed random after benchmark crash
This commit is contained in:
@@ -181,6 +181,8 @@ int64_t xmrig::Client::send(const rapidjson::Value &obj)
|
||||
|
||||
int64_t xmrig::Client::submit(const JobResult &result)
|
||||
{
|
||||
if (m_rpcId.isNull()) return 0; // ignore leftout benchmark jobs
|
||||
|
||||
# ifndef XMRIG_PROXY_PROJECT
|
||||
if (result.clientId != m_rpcId || m_rpcId.isNull() || m_state != ConnectedState) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user