mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
Merge pull request #5926
74a23e9
protocol: only print sync complete message when out of precompiled hashes (moneromooo-monero)
This commit is contained in:
commit
a74a82c8b2
@ -2059,7 +2059,7 @@ skip:
|
|||||||
bool t_cryptonote_protocol_handler<t_core>::on_connection_synchronized()
|
bool t_cryptonote_protocol_handler<t_core>::on_connection_synchronized()
|
||||||
{
|
{
|
||||||
bool val_expected = false;
|
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
|
MGINFO_YELLOW(ENDL << "**********************************************************************" << ENDL
|
||||||
<< "You are now synchronized with the network. You may now start monero-wallet-cli." << ENDL
|
<< "You are now synchronized with the network. You may now start monero-wallet-cli." << ENDL
|
||||||
|
Loading…
Reference in New Issue
Block a user