Merge pull request #1066

f138138 Daemon: fix hashrate display in diff command output (iDunk5400)
This commit is contained in:
Riccardo Spagni 2016-09-15 15:19:01 +02:00
commit 1d6cb94c9b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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;
}