aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-02-22 10:31:11 -0800
committerwarptangent <warptangent@inbox.com>2015-02-22 10:31:11 -0800
commit963bc09087ecf50d1043e62876a8878dae258385 (patch)
treeeb0c62df6e5a3d4f07b57d96254977c0a78910e2 /src/cryptonote_core
parentBounds error, should fix #27 (diff)
downloadmonero-963bc09087ecf50d1043e62876a8878dae258385.tar.xz
Revert "Bounds error, should fix #27"
This reverts commit 6f1c4b4c2c78c930fe30ed648e855a6ce55f7dcd.
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp2
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;
}