diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-11 10:16:18 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-11 10:16:18 +0000 |
commit | f2986ccfc1f41023cd667dbb488a10df492eb8e7 (patch) | |
tree | df5f7b9d8e8fe777af15ac72d04d43efcc6057e5 /include | |
parent | Merge pull request #1698 (diff) | |
download | monero-f2986ccfc1f41023cd667dbb488a10df492eb8e7.tar.xz |
db_lmdb: fix bad height saved in tx data
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.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions