Merge pull request #3851

a87980f fix build with GCC 8.1.0 (moneromooo-monero)
This commit is contained in:
luigi1111
2018-06-19 12:51:13 -05:00
3 changed files with 4 additions and 2 deletions

View File

@@ -976,7 +976,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() {
}
else
{
memset(&res.pool_stats, 0, sizeof(res.pool_stats));
res.pool_stats = {};
if (!m_rpc_server->on_get_transaction_pool_stats(req, res, false) || res.status != CORE_RPC_STATUS_OK)
{
tools::fail_msg_writer() << make_error(fail_message, res.status);