mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
Bounds error, should fix #27
This commit is contained in:
@@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const
|
||||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||
check_open();
|
||||
|
||||
return m_height;
|
||||
return m_height - 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user