aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-02 18:43:23 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-02 18:45:29 +0100
commit02d66db4b4ccbe92f3f997e9ed834cae268b6781 (patch)
treedf80b756216fdd73019a97645ace3b8f5c589f73 /src
parentcryptonote_core: initialize checkpoint flag (diff)
downloadmonero-02d66db4b4ccbe92f3f997e9ed834cae268b6781.tar.xz
tx_pool: initialize padding in txpool meta structure
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index ffb5b478b..33b1d4101 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -225,6 +225,7 @@ namespace cryptonote
meta.last_relayed_time = time(NULL);
meta.relayed = relayed;
meta.do_not_relay = do_not_relay;
+ memset(meta.padding, 0, sizeof(meta.padding));
try
{
CRITICAL_REGION_LOCAL1(m_blockchain);
@@ -261,6 +262,7 @@ namespace cryptonote
meta.last_relayed_time = time(NULL);
meta.relayed = relayed;
meta.do_not_relay = do_not_relay;
+ memset(meta.padding, 0, sizeof(meta.padding));
try
{