mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
Merge pull request #5905
Reverta96c1a4
andadc16d2
(moneromooo-monero)
This commit is contained in:
commit
5fe38977b5
1 changed files with 0 additions and 5 deletions
|
@ -342,11 +342,6 @@ namespace cryptonote
|
||||||
|
|
||||||
if(m_core.have_block(hshd.top_id))
|
if(m_core.have_block(hshd.top_id))
|
||||||
{
|
{
|
||||||
if (target > m_core.get_current_blockchain_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…
Reference in a new issue