aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2016-09-10 23:16:25 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2016-09-10 23:16:25 +0200
commitf1381388ecf8b8df4becd7019ed23b9d255c4089 (patch)
tree0f4be7a47ae78786f6c71cbdd7461ab57dec1e99
parentMerge pull request #1053 (diff)
downloadmonero-f1381388ecf8b8df4becd7019ed23b9d255c4089.tar.xz
Daemon: fix hashrate display in diff command output
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index f10a5a3a6..b43e01e1f 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -261,7 +261,7 @@ bool t_rpc_command_executor::show_difficulty() {
tools::success_msg_writer() << "BH: " << res.height
<< ", TH: " << res.top_block_hash
<< ", DIFF: " << res.difficulty
- << ", HR: " << (int) res.difficulty / res.target << " H/s";
+ << ", HR: " << res.difficulty / res.target << " H/s";
return true;
}