mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Bounds error, should fix #27
This commit is contained in:
parent
fc62af5cf8
commit
6f1c4b4c2c
1 changed files with 1 additions and 1 deletions
|
@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const
|
|||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||
check_open();
|
||||
|
||||
return m_height;
|
||||
return m_height - 1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue