mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
tx_pool: fix uninitialized "last failed" fields
This commit is contained in:
parent
94b6feef24
commit
37ed96e611
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ namespace cryptonote
|
|||
txd_p.first->second.fee = fee;
|
||||
txd_p.first->second.max_used_block_id = null_hash;
|
||||
txd_p.first->second.max_used_block_height = 0;
|
||||
txd_p.first->second.last_failed_height = 0;
|
||||
txd_p.first->second.last_failed_id = null_hash;
|
||||
txd_p.first->second.kept_by_block = kept_by_block;
|
||||
txd_p.first->second.receive_time = time(nullptr);
|
||||
txd_p.first->second.last_relayed_time = time(NULL);
|
||||
|
|
Loading…
Reference in a new issue