Daemon: fix hashrate display in diff command output
This commit is contained in:
parent
0fde289e2f
commit
f1381388ec
|
@ -261,7 +261,7 @@ bool t_rpc_command_executor::show_difficulty() {
|
||||||
tools::success_msg_writer() << "BH: " << res.height
|
tools::success_msg_writer() << "BH: " << res.height
|
||||||
<< ", TH: " << res.top_block_hash
|
<< ", TH: " << res.top_block_hash
|
||||||
<< ", DIFF: " << res.difficulty
|
<< ", DIFF: " << res.difficulty
|
||||||
<< ", HR: " << (int) res.difficulty / res.target << " H/s";
|
<< ", HR: " << res.difficulty / res.target << " H/s";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue