Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 34d5248

Browse files
committedJun 26, 2018
Correct/Cleanup some log messages.
1 parent e6639b8 commit 34d5248

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎libethcore/Miner.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,14 @@ class Miner: public Worker
281281
unsigned tstop = farm.get_tstop();
282282
if (tstop && temperature >= tstop)
283283
{
284-
cwarn << "Pause mining on gpu" << index << " : temperature " << temperature << " is above --tstop " << tstop;
284+
cwarn << "Pause mining on gpu" << index << " : temperature " << temperature << " is equal/above --tstop " << tstop;
285285
m_mining_paused.set_mining_paused(MinigPauseReason::MINING_PAUSED_WAIT_FOR_T_START);
286286
}
287287
} else {
288288
unsigned tstart = farm.get_tstart();
289289
if (tstart && temperature <= tstart)
290290
{
291-
cnote << "(Re)starting mining on gpu" << index << " : temperature " << temperature << " is now below --tstart " << tstart;
291+
cnote << "(Re)starting mining on gpu" << index << " : temperature " << temperature << " is now below/equal --tstart " << tstart;
292292
m_mining_paused.clear_mining_paused(MinigPauseReason::MINING_PAUSED_WAIT_FOR_T_START);
293293
}
294294
}

‎libpoolprotocols/stratum/EthStratumClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ void EthStratumClient::response_timeout_handler(const boost::system::error_code&
10081008
if (!ec) {
10091009
if (isConnected() && m_response_pending) {
10101010
dev::setThreadName("stratum");
1011-
cwarn << "No response received in" << m_responsetimeout << "seconds.";
1011+
cwarn << "No response received in " << m_responsetimeout << " seconds.";
10121012
disconnect();
10131013
}
10141014
}

0 commit comments

Comments
 (0)
This repository has been archived.