mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 12:26:31 +02:00
Bounds error, should fix #27
This commit is contained in:
parent
fc62af5cf8
commit
6f1c4b4c2c
@ -1053,7 +1053,7 @@ uint64_t BlockchainLMDB::height() const
|
|||||||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||||
check_open();
|
check_open();
|
||||||
|
|
||||||
return m_height;
|
return m_height - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user