mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 00:24:58 -04:00
print_coinbase_tx_sum now breaks output into fee and emission components
This commit is contained in:
parent
dd6c44327b
commit
7db29d6903
5 changed files with 30 additions and 10 deletions
|
@ -1299,7 +1299,9 @@ bool t_rpc_command_executor::print_coinbase_tx_sum(uint64_t height, uint64_t cou
|
|||
|
||||
tools::msg_writer() << "Sum of coinbase transactions between block heights ["
|
||||
<< height << ", " << (height + count) << ") is "
|
||||
<< cryptonote::print_money(res.amount);
|
||||
<< cryptonote::print_money(res.emission_amount + res.fee_amount) << " "
|
||||
<< "consisting of " << cryptonote::print_money(res.emission_amount)
|
||||
<< " in emissions, and " << cryptonote::print_money(res.fee_amount) << " in fees";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue