diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-08-26 10:33:10 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-08-26 10:33:10 +0200 |
| commit | 2702e4999a8622d69bd79fea805be1b0022def2f (patch) | |
| tree | 1b6a885804ccb0ee18d078506d1d8d8eb285ffd3 /src/cryptonote_protocol | |
| parent | 7000ed45ec26014f6fd681b769cd6e9d63ef185e (diff) | |
| parent | 78035d2b6c9922f4cd730df0766aa74f4854ccb2 (diff) | |
| download | monzero-core-2702e4999a8622d69bd79fea805be1b0022def2f.tar.gz monzero-core-2702e4999a8622d69bd79fea805be1b0022def2f.tar.xz monzero-core-2702e4999a8622d69bd79fea805be1b0022def2f.zip | |
Merge pull request #984
78035d2 Fix fake 'network synchronized, begin using' messages (Thomas Winget)
Diffstat (limited to 'src/cryptonote_protocol')
| -rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 9f0ea0e83..6f095a76f 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -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) |
