diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-10-04 12:08:33 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-10-04 12:08:33 +0200 |
commit | d60826c0b98300205a2f34116b561805c6f8b8cd (patch) | |
tree | 12a07c10ef5b94bde3535a552eadc23036d6b555 /src/cryptonote_core | |
parent | Merge pull request #1125 (diff) | |
parent | Revert "Fix fake 'network synchronized, begin using' messages" (diff) | |
download | monero-d60826c0b98300205a2f34116b561805c6f8b8cd.tar.xz |
Merge pull request #1133
cec090f Revert "Fix fake 'network synchronized, begin using' messages" (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index bd8a6a493..149fb09df 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -958,10 +958,7 @@ namespace cryptonote //----------------------------------------------------------------------------------------------- void core::set_target_blockchain_height(uint64_t target_blockchain_height) { - if (target_blockchain_height > m_target_blockchain_height) - { - m_target_blockchain_height = target_blockchain_height; - } + m_target_blockchain_height = target_blockchain_height; } //----------------------------------------------------------------------------------------------- uint64_t core::get_target_blockchain_height() const |