tx_pool: fix uninitialized "last failed" fields

pull/1499/head
moneromooo-monero 8 years ago
parent 94b6feef24
commit 37ed96e611
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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…
Cancel
Save