diff options
author | Thomas Winget <tewinget@gmail.com> | 2016-08-23 22:52:25 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2016-08-23 22:52:25 -0400 |
commit | 78035d2b6c9922f4cd730df0766aa74f4854ccb2 (patch) | |
tree | baba5e18e86b0b581646f89bdc0d6471f3ffde9e /src/cryptonote_core | |
parent | Merge branch 'radfish-PR--readme-clarify-conf-syntax' (diff) | |
download | monero-78035d2b6c9922f4cd730df0766aa74f4854ccb2.tar.xz |
Fix fake 'network synchronized, begin using' messages
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 25b750b1d..26748aceb 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -957,7 +957,10 @@ namespace cryptonote //----------------------------------------------------------------------------------------------- void core::set_target_blockchain_height(uint64_t target_blockchain_height) { - m_target_blockchain_height = target_blockchain_height; + if (target_blockchain_height > m_target_blockchain_height) + { + m_target_blockchain_height = target_blockchain_height; + } } //----------------------------------------------------------------------------------------------- uint64_t core::get_target_blockchain_height() const |