mirror of
https://github.com/monero-project/monero.git
synced 2025-07-22 09:10:38 -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
|
@ -957,7 +957,10 @@ namespace cryptonote
|
|||
//-----------------------------------------------------------------------------------------------
|
||||
void core::set_target_blockchain_height(uint64_t target_blockchain_height)
|
||||
{
|
||||
m_target_blockchain_height = target_blockchain_height;
|
||||
if (target_blockchain_height > m_target_blockchain_height)
|
||||
{
|
||||
m_target_blockchain_height = target_blockchain_height;
|
||||
}
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
uint64_t core::get_target_blockchain_height() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue