mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 19:44:55 -04:00
Fix fake 'network synchronized, begin using' messages
This commit is contained in:
parent
db909a224c
commit
78035d2b6c
2 changed files with 5 additions and 2 deletions
|
@ -263,7 +263,7 @@ namespace cryptonote
|
|||
if(context.m_state == cryptonote_connection_context::state_synchronizing)
|
||||
return true;
|
||||
|
||||
if(m_core.have_block(hshd.top_id))
|
||||
if(m_core.have_block(hshd.top_id) && !(hshd.current_height < m_core.get_target_blockchain_height()))
|
||||
{
|
||||
context.m_state = cryptonote_connection_context::state_normal;
|
||||
if(is_inital)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue