diff --git a/src/p2p_server.cpp b/src/p2p_server.cpp index ab659ed..57fddeb 100644 --- a/src/p2p_server.cpp +++ b/src/p2p_server.cpp @@ -1425,7 +1425,7 @@ void P2PServer::api_update_local_stats() } } - s << "],\"uptime\":" << cur_time - m_pool->start_time() << '}'; + s << "],\"uptime\":" << cur_time - m_pool->start_time() << ",\"zmq_last_active\":" << (seconds_since_epoch() - m_pool->zmq_last_active()) << '}'; }); }