Revert "Fix check for disconnecting peers when syncing"
This reverts commit adc16d2504
.
This commit is contained in:
parent
d0d76f771a
commit
ea92a32f72
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue