mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 06:07:46 +00:00
db_bdb: read 32 bit heights from keys
Keys in Berkeley DB are 32 bits. We don't want to read random bits in the high part.
This commit is contained in:
parent
2bed53cb6b
commit
3bf35e14e3
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ bool BlockchainBDB::for_all_blocks(std::function<bool(uint64_t, const crypto::ha
|
|||
|
||||
bdb_cur cur(DB_DEFAULT_TX, m_blocks);
|
||||
|
||||
Dbt_copy<uint64_t> k;
|
||||
Dbt_copy<uint32_t> k;
|
||||
Dbt_safe v;
|
||||
bool ret = true;
|
||||
int result;
|
||||
|
|
Loading…
Reference in a new issue