Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Cleaned the reported power in the CLI display when HWMON is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jclapis committed Sep 20, 2020
1 parent 34f891b commit 29fcb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethcore/Miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ struct HwSensorsType
{
string _ret = to_string(tempC) + "C " + to_string(fanP) + "%";
if (powerW)
_ret.append(boost::str(boost::format("%f") % powerW));
_ret.append(" " + boost::str(boost::format("%0.2f") % powerW) + "W");
return _ret;
};
};
Expand Down

0 comments on commit 29fcb8b

Please sign in to comment.