Formatting.

This commit is contained in:
XMRig 2020-03-04 00:06:20 +07:00
parent 24c25b7d2e
commit 5fa6a034d5
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -271,8 +271,9 @@ bool xmrig::DaemonClient::parseJob(const rapidjson::Value &params, int *code)
if (m_apiVersion == API_DERO) { if (m_apiVersion == API_DERO) {
// Truncate to 32 bytes to have the same data as in get_info RPC // Truncate to 32 bytes to have the same data as in get_info RPC
if (m_prevHash.size() > 64) if (m_prevHash.size() > 64) {
m_prevHash.data()[64] = '\0'; m_prevHash.data()[64] = '\0';
}
} }
if (m_state == ConnectingState) { if (m_state == ConnectingState) {