aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-24 10:56:20 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-24 10:56:20 -0500
commit8926829569718066ca742d08e6f81ccca708a89b (patch)
tree2118418eea87b9d36f9f4e04cf9c3425fe1c6878 /src
parentMerge pull request #5999 (diff)
parentdaemon: add miner tx hash in print_block output (diff)
downloadmonero-8926829569718066ca742d08e6f81ccca708a89b.tar.xz
Merge pull request #6000
641c9cf daemon: add miner tx hash in print_block output (moneromooo-monero)
Diffstat (limited to 'src')
-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 75c54d048..2ed838c1c 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -98,7 +98,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)