mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Revert "Fix check for disconnecting peers when syncing"
This reverts commit adc16d2504
.
This commit is contained in:
parent
d0d76f771a
commit
ea92a32f72
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue