Merge pull request #5815

adc16d2 Fix check for disconnecting peers when syncing (jagerman)
pull/326/head
luigi1111 5 years ago
commit 7bdff6005f
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

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

Loading…
Cancel
Save