diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-02-20 21:09:32 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-02-20 21:09:32 -0500 |
commit | 6f1c4b4c2c78c930fe30ed648e855a6ce55f7dcd (patch) | |
tree | 244c30ca1fc06cbb7e056bbdc06b49e4c24f9188 /src/cryptonote_core | |
parent | Merge remote-tracking branch 'monero-project/master' into blockchain (diff) | |
download | monero-6f1c4b4c2c78c930fe30ed648e855a6ce55f7dcd.tar.xz |
Bounds error, should fix #27
Diffstat (limited to 'src/cryptonote_core')
-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 4fa16b23e..ce568151c 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; + return m_height - 1; } |