aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-18 12:21:30 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-18 12:21:30 +0000
commit641c9cf19de0a1788d09d441221224d20dc5d652 (patch)
treeee09a6bda1febe814c8397aa26bb47bd56cb9a86 /src/daemon/rpc_command_executor.cpp
parentMerge pull request #5990 (diff)
downloadmonero-641c9cf19de0a1788d09d441221224d20dc5d652.tar.xz
daemon: add miner tx hash in print_block output
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r--src/daemon/rpc_command_executor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 014865730..ecb125903 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -97,7 +97,8 @@ namespace {
<< "block weight: " << header.block_weight << std::endl
<< "long term weight: " << header.long_term_weight << std::endl
<< "num txes: " << header.num_txes << std::endl
- << "reward: " << cryptonote::print_money(header.reward);
+ << "reward: " << cryptonote::print_money(header.reward) << std::endl
+ << "miner tx hash: " << header.miner_tx_hash;
}
std::string get_human_time_ago(time_t t, time_t now)