aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-11-16 15:19:48 -0500
committerwarptangent <warptangent@inbox.com>2015-01-04 19:39:40 -0800
commit215e63b79fe32b6755882c9626a946be7bc48395 (patch)
tree1f457a10a3937f0547a6ff4e620b9b297d92afa4
parentraised maximum mapsize for lmdb to ~16GB (diff)
downloadmonero-215e63b79fe32b6755882c9626a946be7bc48395.tar.xz
extraneous semicolon in Blockchain::complete_timestamps_vector
credit here: https://bitcointalk.org/index.php?topic=583449.msg9562845#msg9562845
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 21ec14d3e..647b9405d 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -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();
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;
- while (start_top_height != stop_offset);
+ while (start_top_height != stop_offset)
{
timestamps.push_back(m_db->get_block_timestamp(start_top_height));
--start_top_height;