diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-24 09:12:16 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-26 14:54:10 +0100 |
commit | a87980f6c2085a47e732d580947344649668adbe (patch) | |
tree | 0daa77571054741ee3ab7bf1a031237dfd2ae72f /src/rpc | |
parent | Merge pull request #3787 (diff) | |
download | monero-a87980f6c2085a47e732d580947344649668adbe.tar.xz |
fix build with GCC 8.1.0
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index 250c88e90..1227afef5 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -1554,6 +1554,8 @@ namespace cryptonote std::vector<txpool_histo> histo; uint32_t num_double_spends; + txpool_stats(): bytes_total(0), bytes_min(0), bytes_max(0), bytes_med(0), fee_total(0), oldest(0), txs_total(0), num_failing(0), num_10m(0), num_not_relayed(0), histo_98pc(0), num_double_spends(0) {} + BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(bytes_total) KV_SERIALIZE(bytes_min) |