mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Formatting.
This commit is contained in:
@@ -271,9 +271,10 @@ bool xmrig::DaemonClient::parseJob(const rapidjson::Value ¶ms, 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) {
|
||||||
setState(ConnectedState);
|
setState(ConnectedState);
|
||||||
|
|||||||
Reference in New Issue
Block a user