From 963bc09087ecf50d1043e62876a8878dae258385 Mon Sep 17 00:00:00 2001 From: warptangent Date: Sun, 22 Feb 2015 10:31:11 -0800 Subject: [PATCH] Revert "Bounds error, should fix #27" This reverts commit 6f1c4b4c2c78c930fe30ed648e855a6ce55f7dcd. --- src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }