aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-15 15:19:01 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-15 15:19:01 +0200
commit1d6cb94c9b60470d499ed837c03fc8bb236e4902 (patch)
treeff431ddc640fe713f05d0e5b566557b6f7228439
parentMerge pull request #1065 (diff)
parentDaemon: fix hashrate display in diff command output (diff)
downloadmonero-1d6cb94c9b60470d499ed837c03fc8bb236e4902.tar.xz
Merge pull request #1066
f138138 Daemon: fix hashrate display in diff command output (iDunk5400)
-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;
}