Merge pull request #5905

Revert a96c1a4 and adc16d2 (moneromooo-monero)
This commit is contained in:
luigi1111 2019-09-24 10:39:28 -05:00
commit 5fe38977b5
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -342,11 +342,6 @@ namespace cryptonote
if(m_core.have_block(hshd.top_id))
{
if (target > m_core.get_current_blockchain_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();