From fd8b0920c020257f72063b7d8418d0f34dc179d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Gr=C3=A4f?= Date: Mon, 6 Aug 2018 09:47:12 +0200 Subject: [PATCH] Remove accidentally merged restart of miner on first connect --- src/cc/Service.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cc/Service.cpp b/src/cc/Service.cpp index b649cc7f..05e1542b 100644 --- a/src/cc/Service.cpp +++ b/src/cc/Service.cpp @@ -228,10 +228,6 @@ unsigned Service::setClientStatus(const std::string& clientIp, const std::string clientStatus.parseFromJson(document); clientStatus.setExternalIp(clientIp); - if (m_clientStatus.find(clientId) == m_clientStatus.end()) { - m_clientCommand[clientId] = ControlCommand(ControlCommand::RESTART); - } - m_clientStatus[clientId] = clientStatus; resultCode = getClientCommand(clientId, resp);