daemon: add miner tx hash in print_block output

This commit is contained in:
moneromooo-monero 2019-10-18 12:21:30 +00:00
parent 441ed9f2fe
commit 641c9cf19d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 1 deletions

View File

@ -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)