Revert "Fix check for disconnecting peers when syncing"

This reverts commit adc16d2504.
This commit is contained in:
moneromooo-monero 2019-09-11 01:04:01 +00:00
parent d0d76f771a
commit ea92a32f72
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ namespace cryptonote
if(m_core.have_block(hshd.top_id))
{
if (target > m_core.get_current_blockchain_height())
if (target > hshd.current_height)
{
MINFO(context << "peer is not ahead of us and we're syncing, disconnecting");
return false;