Bounds error, should fix #27

This commit is contained in:
Thomas Winget 2015-02-20 21:09:32 -05:00
parent fc62af5cf8
commit 6f1c4b4c2c
No known key found for this signature in database
GPG Key ID: 58131A160789E630
1 changed files with 1 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
check_open();
return m_height;
return m_height - 1;
}