diff --git a/src/p2pool.cpp b/src/p2pool.cpp index 8850594..5e34ddf 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -1559,7 +1559,7 @@ void p2pool::api_update_network_stats() << "\",\"height\":" << mainnet_tip.height << ",\"reward\":" << mainnet_tip.reward << ",\"timestamp\":" << mainnet_tip.timestamp - << ",\"zmq_last_active\":" << zmq_last_active() + << ",\"zmq_last_active\":" << (seconds_since_epoch() - zmq_last_active()) << "}"; });