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

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;