diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-11 01:04:44 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-11 01:04:44 +0000 |
commit | 62fc4bec4c92f1b509304c545f6e8c810e56c0c7 (patch) | |
tree | 7908d922c3a4087dbc6cd9ca3ff01ca28545bb35 /src | |
parent | Revert "Fix check for disconnecting peers when syncing" (diff) | |
download | monero-62fc4bec4c92f1b509304c545f6e8c810e56c0c7.tar.xz |
Revert "cryptonote_protocol: drop peers we can't download from when syncing"
This reverts commit a96c1a46d4b3854252de75cbe09458ad5d1aecb0.
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index e050dda05..9f01a7320 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -342,11 +342,6 @@ namespace cryptonote if(m_core.have_block(hshd.top_id)) { - if (target > hshd.current_height) - { - MINFO(context << "peer is not ahead of us and we're syncing, disconnecting"); - return false; - } context.m_state = cryptonote_connection_context::state_normal; if(is_inital && target == m_core.get_current_blockchain_height()) on_connection_synchronized(); |