diff --git a/src/p2pool.cpp b/src/p2pool.cpp index c1cf105..3023b7b 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -1119,7 +1119,7 @@ void p2pool::api_update_stats_mod() m_api->set(p2pool_api::Category::GLOBAL, "stats_mod", [&mainnet_tip, last_block_found_time, &last_block_found_buf, last_block_found_height, miners, hashrate, round_hashes, stratum_port](log::Stream& s) { - s << "{\"config\":{\"ports\":[{\"port\":" << stratum_port << ",\"tls\":false}],\"fee\":0,\"minPaymentThreshold\":400000000},\"network\":{\"height\":" + s << "{\"config\":{\"ports\":[{\"port\":" << stratum_port << ",\"tls\":false}],\"fee\":0,\"minPaymentThreshold\":300000000},\"network\":{\"height\":" << mainnet_tip.height << "},\"pool\":{\"stats\":{\"lastBlockFound\":\"" << last_block_found_time << "000\"},\"blocks\":[\"" << static_cast(last_block_found_buf) << static_cast(last_block_found_buf) + HASH_SIZE * 2 - 4 << ':'