mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 21:06:32 +02:00
f2986ccfc1
The recent change to not keep separate track of the blockchain height caused the reported height to jump early in the lmdb transaction (when the block data is added to the blocks table), rather than at the end, after everything succeeded. Since the block data is added before the transaction data, this caused the transaction data to be saved with a height one more than its expected value. Fix this by saving the block data last. This should have no side effects. |
||
---|---|---|
.. | ||
berkeleydb | ||
lmdb | ||
blockchain_db.cpp | ||
blockchain_db.h | ||
CMakeLists.txt | ||
db_types.h |