daemon: even when switching branches, compile the damn thing ffs

This commit is contained in:
moneromooo-monero 2016-10-23 20:21:00 +01:00
parent 2f4f6c7c26
commit 30946700a3
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

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