aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-10-23 21:25:32 +0200
committerRiccardo Spagni <ric@spagni.net>2016-10-23 21:25:32 +0200
commit18e406a0e6c520d3772461bf271fe96247912986 (patch)
treeef1eea886eab07ebb1879c520e09bf3ddb7a8b40 /src
parentMerge pull request #1252 (diff)
parentdaemon: even when switching branches, compile the damn thing ffs (diff)
downloadmonero-18e406a0e6c520d3772461bf271fe96247912986.tar.xz
Merge pull request #1253
3094670 daemon: even when switching branches, compile the damn thing ffs (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/daemon/rpc_command_executor.cpp2
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