mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 04:35:25 -04:00
Merge pull request #5981
88c9d90
protocol: initialize block_weight in block_complete_entry ctor (moneromooo-monero)fe443bb
cryptonote: don't leave block_weight uninitialized (moneromooo-monero)1ba9baf
tx_pool: do not divide by 0 (moneromooo-monero)
This commit is contained in:
commit
426d2ac8ee
3 changed files with 4 additions and 3 deletions
|
@ -160,7 +160,7 @@ namespace cryptonote
|
|||
}
|
||||
END_KV_SERIALIZE_MAP()
|
||||
|
||||
block_complete_entry(): pruned(false) {}
|
||||
block_complete_entry(): pruned(false), block_weight(0) {}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue