Skip to content
Permalink
Browse files

Revert "cryptonote_protocol: drop peers we can't download from when s…

…yncing"

This reverts commit a96c1a4.
  • Loading branch information...
moneromooo-monero committed Sep 11, 2019
1 parent ea92a32 commit 62fc4bec4c92f1b509304c545f6e8c810e56c0c7
Showing with 0 additions and 5 deletions.
  1. +0 −5 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();

0 comments on commit 62fc4be

Please sign in to comment.
You can’t perform that action at this time.