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

Commit 360549a

Browse files
committedSep 5, 2018
A few more cosmetic changes
1 parent a94973d commit 360549a

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
 

‎CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2424
- API: New method `miner_setverbosity`. [#1382](https://github.com/ethereum-mining/ethminer/pull/1382).
2525
- Implemented fast job switch algorithm on AMD reducing switch time to 1-2 milliseconds.
2626
- Added localization support for output number formatting.
27-
- Changed the --verbosity to allow individual enable/disable of logging features.
27+
- Changed the --verbosity option to allow individual enable/disable of logging features.
2828

2929
### Removed
3030

‎ethminer/main.cpp

+9-7
Original file line numberDiff line numberDiff line change
@@ -910,14 +910,16 @@ class MinerCLI
910910
}
911911
if (mgr.isConnected())
912912
{
913-
auto mp = f.miningProgress();
914913
auto solstats = f.getSolutionStats();
915-
ostringstream ss;
916-
ss << mp << ' ';
917-
if (!(g_logOptions & LOG_PER_GPU))
918-
ss << solstats << ' ';
919-
ss << f.farmLaunchedFormatted();
920-
minelog << ss.str();
914+
{
915+
auto mp = f.miningProgress();
916+
ostringstream os;
917+
os << mp << ' ';
918+
if (!(g_logOptions & LOG_PER_GPU))
919+
os << solstats << ' ';
920+
os << f.farmLaunchedFormatted();
921+
minelog << os.str();
922+
}
921923

922924
if (g_logOptions & LOG_PER_GPU)
923925
{

0 commit comments

Comments
 (0)
This repository has been archived.