diff options
author | warptangent <warptangent@inbox.com> | 2015-02-22 10:31:11 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-02-22 10:31:11 -0800 |
commit | 963bc09087ecf50d1043e62876a8878dae258385 (patch) | |
tree | eb0c62df6e5a3d4f07b57d96254977c0a78910e2 /src | |
parent | Bounds error, should fix #27 (diff) | |
download | monero-963bc09087ecf50d1043e62876a8878dae258385.tar.xz |
Revert "Bounds error, should fix #27"
This reverts commit 6f1c4b4c2c78c930fe30ed648e855a6ce55f7dcd.
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp index ce568151c..4fa16b23e 100644 --- a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp +++ b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp @@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const LOG_PRINT_L3("BlockchainLMDB::" << __func__); check_open(); - return m_height - 1; + return m_height; } |