This repository was archived by the owner on Apr 24, 2022. It is now read-only.
File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
24
24
- API: New method ` miner_setverbosity ` . [ #1382 ] ( https://github.com/ethereum-mining/ethminer/pull/1382 ) .
25
25
- Implemented fast job switch algorithm on AMD reducing switch time to 1-2 milliseconds.
26
26
- 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.
28
28
29
29
### Removed
30
30
Original file line number Diff line number Diff line change @@ -910,14 +910,16 @@ class MinerCLI
910
910
}
911
911
if (mgr.isConnected ())
912
912
{
913
- auto mp = f.miningProgress ();
914
913
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
+ }
921
923
922
924
if (g_logOptions & LOG_PER_GPU)
923
925
{
You can’t perform that action at this time.
0 commit comments