mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
tx_pool: initialize padding in txpool meta structure
This commit is contained in:
parent
0722aea3df
commit
02d66db4b4
1 changed files with 2 additions and 0 deletions
|
@ -225,6 +225,7 @@ namespace cryptonote
|
||||||
meta.last_relayed_time = time(NULL);
|
meta.last_relayed_time = time(NULL);
|
||||||
meta.relayed = relayed;
|
meta.relayed = relayed;
|
||||||
meta.do_not_relay = do_not_relay;
|
meta.do_not_relay = do_not_relay;
|
||||||
|
memset(meta.padding, 0, sizeof(meta.padding));
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
CRITICAL_REGION_LOCAL1(m_blockchain);
|
CRITICAL_REGION_LOCAL1(m_blockchain);
|
||||||
|
@ -261,6 +262,7 @@ namespace cryptonote
|
||||||
meta.last_relayed_time = time(NULL);
|
meta.last_relayed_time = time(NULL);
|
||||||
meta.relayed = relayed;
|
meta.relayed = relayed;
|
||||||
meta.do_not_relay = do_not_relay;
|
meta.do_not_relay = do_not_relay;
|
||||||
|
memset(meta.padding, 0, sizeof(meta.padding));
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue