mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 22:39:24 -05:00
extraneous semicolon in Blockchain::complete_timestamps_vector
credit here: https://bitcointalk.org/index.php?topic=583449.msg9562845#msg9562845
This commit is contained in:
parent
8e1b7e2ad4
commit
215e63b79f
@ -1056,7 +1056,7 @@ bool Blockchain::complete_timestamps_vector(uint64_t start_top_height, std::vect
|
|||||||
size_t need_elements = BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW - timestamps.size();
|
size_t need_elements = BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW - timestamps.size();
|
||||||
CHECK_AND_ASSERT_MES(start_top_height < m_db->height(), false, "internal error: passed start_height not < " << " m_db->height() -- " << start_top_height << " >= " << m_db->height());
|
CHECK_AND_ASSERT_MES(start_top_height < m_db->height(), false, "internal error: passed start_height not < " << " m_db->height() -- " << start_top_height << " >= " << m_db->height());
|
||||||
size_t stop_offset = start_top_height > need_elements ? start_top_height - need_elements : 0;
|
size_t stop_offset = start_top_height > need_elements ? start_top_height - need_elements : 0;
|
||||||
while (start_top_height != stop_offset);
|
while (start_top_height != stop_offset)
|
||||||
{
|
{
|
||||||
timestamps.push_back(m_db->get_block_timestamp(start_top_height));
|
timestamps.push_back(m_db->get_block_timestamp(start_top_height));
|
||||||
--start_top_height;
|
--start_top_height;
|
||||||
|
Loading…
Reference in New Issue
Block a user