diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 20:21:00 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 20:21:00 +0100 |
| commit | 30946700a3a90b07a3674bebdc7cb2652e3a2ca8 (patch) | |
| tree | ef1eea886eab07ebb1879c520e09bf3ddb7a8b40 /src | |
| parent | 2f4f6c7c26a5fd23047e58b7b107a59212280cd5 (diff) | |
| download | monzero-core-30946700a3a90b07a3674bebdc7cb2652e3a2ca8.tar.gz monzero-core-30946700a3a90b07a3674bebdc7cb2652e3a2ca8.tar.xz monzero-core-30946700a3a90b07a3674bebdc7cb2652e3a2ca8.zip | |
daemon: even when switching branches, compile the damn thing ffs
Diffstat (limited to 'src')
| -rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index e7c4d10bc..d8d8aac99 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -873,7 +873,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() { if (tx_info.last_failed_height) ++n_failing; } - size_t n_transactions ? avg_bytes = bytes / n_transactions : 0; + size_t avg_bytes = n_transactions ? bytes / n_transactions : 0; tools::msg_writer() << n_transactions << " tx(es), " << bytes << " bytes total (min " << min_bytes << ", max " << max_bytes << ", avg " << avg_bytes << ")" << std::endl << "fees " << cryptonote::print_money(fee) << " (avg " << cryptonote::print_money(n_transactions ? fee / n_transactions : 0) << " per tx)" << std::endl |
