diff options
author | Dion Ahmetaj <Dion Ahmetaj> | 2016-10-10 19:55:18 -0400 |
---|---|---|
committer | Dion Ahmetaj <Dion Ahmetaj> | 2016-10-10 19:55:18 -0400 |
commit | 7db29d6903fe24eabaaf3b3afc364b6924d5b463 (patch) | |
tree | d754fd808175986db9a77aec743d89b7fced914b /src/daemon/rpc_command_executor.cpp | |
parent | changed params from start/end index to height/count (diff) | |
download | monero-7db29d6903fe24eabaaf3b3afc364b6924d5b463.tar.xz |
print_coinbase_tx_sum now breaks output into fee and emission components
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index bf154597c..db0d0a6e4 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -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; } |