Remove accidentally merged restart of miner on first connect

This commit is contained in:
Ben Gräf 2018-08-06 09:47:12 +02:00 committed by GitHub
parent 5e8e6a521a
commit fd8b0920c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);