mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-25 16:58:35 +00:00
Revert "cryptonote_protocol: drop peers we can't download from when syncing"
This reverts commit a96c1a46d4b3854252de75cbe09458ad5d1aecb0.
This commit is contained in:
parent
ea92a32f72
commit
62fc4bec4c
@ -342,11 +342,6 @@ namespace cryptonote
|
|||||||
|
|
||||||
if(m_core.have_block(hshd.top_id))
|
if(m_core.have_block(hshd.top_id))
|
||||||
{
|
{
|
||||||
if (target > hshd.current_height)
|
|
||||||
{
|
|
||||||
MINFO(context << "peer is not ahead of us and we're syncing, disconnecting");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
context.m_state = cryptonote_connection_context::state_normal;
|
context.m_state = cryptonote_connection_context::state_normal;
|
||||||
if(is_inital && target == m_core.get_current_blockchain_height())
|
if(is_inital && target == m_core.get_current_blockchain_height())
|
||||||
on_connection_synchronized();
|
on_connection_synchronized();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user