Skip to content

Commit

Permalink
Bounds error, should fix monero-project#27
Browse files Browse the repository at this point in the history
  • Loading branch information
tewinget committed Feb 21, 2015
1 parent fc62af5 commit 6f1c4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
check_open();

return m_height;
return m_height - 1;
}


Expand Down

0 comments on commit 6f1c4b4

Please sign in to comment.