mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +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__);
|
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||||
check_open();
|
check_open();
|
||||||
|
|
||||||
return m_height;
|
return m_height - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue