Skip to content
Permalink
Browse files

Merge pull request #5926

74a23e9 protocol: only print sync complete message when out of precompiled hashes (moneromooo-monero)
  • Loading branch information...
luigi1111 committed Oct 8, 2019
2 parents 29075e6 + 74a23e9 commit a74a82c8b2e520e487b65124a08af848a14b27b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cryptonote_protocol/cryptonote_protocol_handler.inl
@@ -2059,7 +2059,7 @@ skip:
bool t_cryptonote_protocol_handler<t_core>::on_connection_synchronized()
{
bool val_expected = false;
if(m_synchronized.compare_exchange_strong(val_expected, true))
if(!m_core.is_within_compiled_block_hash_area(m_core.get_current_blockchain_height()) && m_synchronized.compare_exchange_strong(val_expected, true))
{
MGINFO_YELLOW(ENDL << "**********************************************************************" << ENDL
<< "You are now synchronized with the network. You may now start monero-wallet-cli." << ENDL

0 comments on commit a74a82c

Please sign in to comment.
You can’t perform that action at this time.