Sync test: log more data in the end

This commit is contained in:
SChernykh
2022-11-24 10:28:21 +01:00
parent d4180a5084
commit 9283677a2b
2 changed files with 11 additions and 5 deletions
+5 -2
View File
@@ -2156,8 +2156,11 @@ void SideChain::finish_precalc()
if (m_pool) {
LOGINFO(0, log::LightGreen() << "[DEV] Synchronization finished successfully, stopping P2Pool now");
print_status(false);
if (m_pool->p2p_server()) {
m_pool->p2p_server()->print_status();
P2PServer* server = m_pool->p2p_server();
if (server) {
server->print_status();
server->print_bans();
server->show_peers_async();
}
m_pool->stop();
}