Code cleanup

This commit is contained in:
SChernykh
2023-06-18 16:47:31 +02:00
parent b5fa34e1a1
commit a9a2113ea4
2 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -2068,7 +2068,7 @@ void SideChain::prune_old_blocks()
m_pool->reconnect_to_host();
}
if (m_pool && m_precalcFinished.load() && (cur_time >= m_firstPruneTime + 120)) {
if (cur_time >= m_firstPruneTime + 120) {
LOGINFO(0, log::LightGreen() << "[DEV] Synchronization finished successfully, stopping P2Pool now");
print_status(false);
P2PServer* server = m_pool->p2p_server();