mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1499
37ed96e6
tx_pool: fix uninitialized "last failed" fields (moneromooo-monero)94b6feef
rpc: fix mixup in tx_info serialization (moneromooo-monero)
This commit is contained in:
commit
d655e88b44
2 changed files with 3 additions and 1 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);
|
||||
|
|
|
@ -919,7 +919,7 @@ namespace cryptonote
|
|||
KV_SERIALIZE(last_failed_id_hash)
|
||||
KV_SERIALIZE(receive_time)
|
||||
KV_SERIALIZE(relayed)
|
||||
KV_SERIALIZE(last_failed_id_hash)
|
||||
KV_SERIALIZE(last_relayed_time)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue